[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/corfu 38acda3546 5/8: Ensure right-margin-width >= bar-
From: |
ELPA Syncer |
Subject: |
[elpa] externals/corfu 38acda3546 5/8: Ensure right-margin-width >= bar-width |
Date: |
Fri, 1 Nov 2024 12:58:24 -0400 (EDT) |
branch: externals/corfu
commit 38acda3546b046151a560becfe56a53aa3e9d57a
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
Ensure right-margin-width >= bar-width
---
corfu.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/corfu.el b/corfu.el
index 6db0b7e956..35a0c38d0d 100644
--- a/corfu.el
+++ b/corfu.el
@@ -1017,10 +1017,10 @@ A scroll bar is displayed from LO to LO+BAR."
(with-current-buffer (corfu--make-buffer " *corfu*")
(let* ((ch (default-line-height))
(cw (default-font-width))
- (bw (ceiling (* cw corfu-bar-width)))
(fringe (display-graphic-p))
(ml (ceiling (* cw corfu-left-margin-width)))
- (mr (ceiling (* cw corfu-right-margin-width)))
+ (bw (ceiling (* cw corfu-bar-width)))
+ (mr (max bw (ceiling (* cw corfu-right-margin-width))))
(marginl (and (> ml 0) (propertize " " 'display `(space :width
(,ml)))))
(sbar (if fringe
#(" " 0 1 (display (right-fringe corfu--bar corfu-bar)))
- [elpa] externals/corfu updated (16d5aef839 -> 2b81c26dd7), ELPA Syncer, 2024/11/01
- [elpa] externals/corfu 0afd1f7266 6/8: Force fringe update, ELPA Syncer, 2024/11/01
- [elpa] externals/corfu e7a22ac6d6 4/8: Use fringe for the scroll bar, ELPA Syncer, 2024/11/01
- [elpa] externals/corfu a0ac2861e9 3/8: Suffixes are always prefixed with space, ELPA Syncer, 2024/11/01
- [elpa] externals/corfu 38acda3546 5/8: Ensure right-margin-width >= bar-width,
ELPA Syncer <=
- [elpa] externals/corfu d20892abbc 2/8: format-candidates: ensure suffix is right-aligned when possible, ELPA Syncer, 2024/11/01
- [elpa] externals/corfu 090299074e 1/8: Use :extend=t for corfu-current, Simplify, ELPA Syncer, 2024/11/01
- [elpa] externals/corfu 2b81c26dd7 8/8: Fix corfu--popup-show: curr can be nil, ELPA Syncer, 2024/11/01
- [elpa] externals/corfu 1ad0336693 7/8: Update changelog, ELPA Syncer, 2024/11/01