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

Fix bug (layout wasn't going to 1 line)

This commit is contained in:
justbur 2015-07-10 11:56:15 -04:00
parent 5f5fc22acf
commit ea115fc5dd

View file

@ -611,7 +611,7 @@ the maximum number of lines availabel in the target buffer."
next-try-lines (- next-try-lines 1)
next-try (which-key/create-page-vertical next-try-lines max-width key-cns)
n-rem-keys (length (nth 3 next-try))
found (or (= next-try-lines 1) (> n-rem-keys 0))))
found (or (= next-try-lines 0) (> n-rem-keys 0))))
prev-try)))
;; start on binary search (not correct yet)