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:
parent
16aa8acb83
commit
76a0199eb3
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue