summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Mendler <mail@daniel-mendler.de>2025-01-20 19:55:56 +0100
committerDaniel Mendler <mail@daniel-mendler.de>2025-01-20 19:55:56 +0100
commita401b6a3a645705b4767d938a2efa02183ba96f4 (patch)
tree29f7390e8ee8edd8ecceeef4a1a961132ff05f42
parent40d8000d5f09cd9c31b799095fae4202dae383cd (diff)
Fix last commit
-rw-r--r--corfu.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/corfu.el b/corfu.el
index 5908519..9bbcbff 100644
--- a/corfu.el
+++ b/corfu.el
@@ -1066,7 +1066,7 @@ A scroll bar is displayed from LO to LO+BAR."
(x (max 0 (min (+ (car edge) (- (or (car pos) 0) ml (* cw off) border))
(- (frame-pixel-width) width))))
(yb (+ (cadr edge) (or (cdr pos) 0) lh
- (static-if (< emacs-major-version 30) (window-tab-line-height) 0)))
+ (static-if (< emacs-major-version 31) (window-tab-line-height) 0)))
(y (if (> (+ yb (* corfu-count ch) lh lh) (frame-pixel-height))
(- yb height lh border border)
yb))