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