1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-01 11:20:41 -08:00

Start to fix lock up on small vertical window

This commit is contained in:
justbur 2015-07-10 22:00:14 -04:00
parent 16aa8acb83
commit 76a0199eb3

View file

@ -674,7 +674,7 @@ the maximum number of lines availabel in the target buffer."
'face 'font-lock-comment-face)))
(which-key/create-page-vertical (-insert-at status-key-i status-key keys)
max-lines max-width prefix-width))
((or (> n-rem-keys 0) (= 1 max-lines)) first-try)
((or vertical (> n-rem-keys 0) (= 1 max-lines)) first-try)
;; do a simple search for now (TODO: Implement binary search)
(t (while (not found)
(setq prev-try next-try