[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/vertico adb6c6aa6d: Set scroll-margin=0 in minibuffer (
From: |
ELPA Syncer |
Subject: |
[elpa] externals/vertico adb6c6aa6d: Set scroll-margin=0 in minibuffer (Fix #298) |
Date: |
Sat, 6 May 2023 08:59:09 -0400 (EDT) |
branch: externals/vertico
commit adb6c6aa6dd4417a306e6168dde3e38d3be4e759
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
Set scroll-margin=0 in minibuffer (Fix #298)
---
vertico.el | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/vertico.el b/vertico.el
index 508160fbd0..0f816d9c6d 100644
--- a/vertico.el
+++ b/vertico.el
@@ -639,13 +639,13 @@ The function is configured by BY, BSIZE, BINDEX, BPRED
and PRED."
(cl-defgeneric vertico--setup ()
"Setup completion UI."
- (setq vertico--input t
- vertico--candidates-ov (make-overlay (point-max) (point-max) nil t t)
- vertico--count-ov (make-overlay (point-min) (point-min) nil t t))
- ;; Set priority for compatibility with `minibuffer-depth-indicate-mode'
- (overlay-put vertico--count-ov 'priority 1)
- (setq-local completion-auto-help nil
- completion-show-inline-help nil)
+ (setq-local scroll-margin 0
+ vertico--input t
+ completion-auto-help nil
+ completion-show-inline-help nil
+ vertico--candidates-ov (make-overlay (point-max) (point-max) nil
t t)
+ vertico--count-ov (make-overlay (point-min) (point-min) nil t t))
+ (overlay-put vertico--count-ov 'priority 1) ;; For
`minibuffer-depth-indicate-mode'
(use-local-map vertico-map)
(add-hook 'pre-command-hook #'vertico--prepare nil 'local)
(add-hook 'post-command-hook #'vertico--exhibit nil 'local))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals/vertico adb6c6aa6d: Set scroll-margin=0 in minibuffer (Fix #298),
ELPA Syncer <=