Philip Jackson <[email protected]> writes:
> Hi,
>
> Running with the work Óscar did on key groups I've created a branch
> called key-groups and hacked on it for the last few evenings. It would
> be great if people could check it out and send patches/bug reports to
> help out.
I've looked at what you have done, and there is one problem: when you
look at the help for the mode (C-h m) several bindings appear as :
F ??
P ??
l ??
…
It is because you bind key to anonymous function, whose help is empty.
something as
(defmacro magit-key-mode-generate (sym)
"generate the key-group menu for SYM"
`(defun ,(intern (concat "magit-key-mode-menu-" (symbol-name 'sym))) ()
,(concat "key menu for " (symbol-name 'sym))
(interactive)
(magit-key-mode ,sym)))
would do the trick (it's untested)
--
Rémi Vanicat