diff options
| author | Daniel Mendler <mail@daniel-mendler.de> | 2021-11-10 22:49:10 +0100 |
|---|---|---|
| committer | Daniel Mendler <mail@daniel-mendler.de> | 2021-11-10 22:49:10 +0100 |
| commit | 9d71246945d59015255ea7845c619ef49c14c5fe (patch) | |
| tree | eaf1efe5c10de76cf79e372d59f19d03b0d2a814 | |
| parent | 0eac0f7406b56607b1435b1bfa5eb8c50d495269 (diff) | |
corfu--popup-show: More robust right margin
| -rw-r--r-- | corfu.el | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -398,7 +398,7 @@ A scroll bar is displayed from LO to LO+BAR." (rm (ceiling (* cw corfu-right-margin-width))) (bw (ceiling (min rm (* cw corfu-bar-width)))) (lmargin (and (> lm 0) (propertize " " 'display `(space :width (,lm))))) - (rmargin (and (> rm 0) (propertize " " 'display `(space :width (,rm))))) + (rmargin (and (> rm 0) (propertize " " 'display `(space :align-to right)))) (sbar (when (> bw 0) (concat (propertize " " 'display `(space :align-to (- right (,rm)))) (propertize " " 'display `(space :width (,(- rm bw)))) |
