mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-03-02 11:50:48 -08:00
Remove useless when
This commit is contained in:
parent
b71d3c239d
commit
be66556faf
1 changed files with 2 additions and 2 deletions
|
|
@ -851,9 +851,9 @@ value of `which-key-show-prefix'. SEL-WIN-WIDTH is passed to
|
|||
(concat prefix-w-face " ")
|
||||
(concat prefix-w-face "-\n"))))
|
||||
(max-dims (which-key--popup-max-dimensions sel-win-width))
|
||||
(max-lines (when (car max-dims) (car max-dims)))
|
||||
(max-lines (car max-dims))
|
||||
(avl-width (cdr max-dims))
|
||||
(prefix-width (if (eq which-key-show-prefix 'left) prefix-len 0))
|
||||
(avl-width (when (cdr max-dims) (cdr max-dims)))
|
||||
(keys-rem formatted-keys)
|
||||
(max-pages (+ 1 (length formatted-keys)))
|
||||
(page-n 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue