emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/vertico 06e5dfe 02/48: improve minibuffer resizing


From: Stefan Monnier
Subject: [elpa] externals/vertico 06e5dfe 02/48: improve minibuffer resizing
Date: Mon, 5 Apr 2021 10:54:39 -0400 (EDT)

branch: externals/vertico
commit 06e5dfe1d2a9e90f14a6eb4733a214b983cb1fe4
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>

    improve minibuffer resizing
---
 minicomp.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/minicomp.el b/minicomp.el
index 5d4d789..3bd884d 100644
--- a/minicomp.el
+++ b/minicomp.el
@@ -353,10 +353,11 @@
 
 (defun minicomp--setup ()
   "Setup completion system."
+  (setq-local truncate-lines nil)
+  (setq-local resize-mini-windows 'grow-only)
   (setq-local max-mini-window-height 1.0)
   (when (boundp 'orderless-skip-highlighting)
     (setq-local orderless-skip-highlighting t))
-  ;;(setq-local truncate-lines t)
   (setq minicomp--input t
         minicomp--candidates-ov (make-overlay (point-max) (point-max))
         minicomp--count-ov (make-overlay (point-min) (point-min)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]