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

Protect 2-side-window function from too many args

This commit is contained in:
justbur 2015-07-22 12:54:16 -04:00
parent 5f35908078
commit db469b2188

View file

@ -997,7 +997,7 @@ enough space based on your settings and frame size." prefix-keys)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Update
(defun which-key--try-2-side-windows (page-n loc1 loc2)
(defun which-key--try-2-side-windows (page-n loc1 loc2 &rest _ignore)
(let (pages1 pages2)
(let ((which-key-side-window-location loc1))
(setq pages1 (which-key--create-pages formatted-keys (window-width))))