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

Fix weird no room error

This commit is contained in:
justbur 2015-07-13 14:59:07 -04:00
parent c945a96768
commit 5e1187f49b

View file

@ -818,7 +818,7 @@ value of `which-key-show-prefix'. SEL-WIN-WIDTH is passed to
pages (reverse pages)
first-page (car pages)
first-page-str (concat prefix-string (car first-page)))
(cond (no-room
(cond ((<= (car keys-per-page) 0) ; check first page
(message "%s- which-key can't show keys: Settings and/or frame size are too restrictive." prefix-keys)
(cons 0 0))
(max-pages-reached