1
Fork 0
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:
justbur 2015-07-15 09:59:24 -04:00
parent b71d3c239d
commit be66556faf

View file

@ -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)