[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/corfu 9d71246: corfu--popup-show: More robust right mar
From: |
ELPA Syncer |
Subject: |
[elpa] externals/corfu 9d71246: corfu--popup-show: More robust right margin |
Date: |
Wed, 10 Nov 2021 16:57:10 -0500 (EST) |
branch: externals/corfu
commit 9d71246945d59015255ea7845c619ef49c14c5fe
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
corfu--popup-show: More robust right margin
---
corfu.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/corfu.el b/corfu.el
index 3b9a34e..6e9fc47 100644
--- a/corfu.el
+++ b/corfu.el
@@ -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))))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals/corfu 9d71246: corfu--popup-show: More robust right margin,
ELPA Syncer <=