justbur / emacs-which-key

Emacs package that displays available keybindings in popup

Repository from Github https://github.comjustbur/emacs-which-keyRepository from Github https://github.comjustbur/emacs-which-key

Possible wrong parameters passed to which-key--get-keymap-bindings

Zetagon opened this issue · comments

This might just be confusing naming, but the filter variable in which-key--get-bindings doesn't get passed as the filter parameter to which-key--get-keymap-bindings. It would be an off-by-one error.

emacs-which-key/which-key.el

Lines 1847 to 1848 in 27d9fec

(which-key--get-keymap-bindings
keymap prefix filter recursive))

I'm suspecting it should be the code below instead, with start set to nil.

(which-key--get-keymap-bindings
                  keymap nil prefix filter recursive)