Next: perldoc, Previous: compile-dwim, Up: Top
A big obstacle for novice to used to emacs is that there are so many keys to remember. I like dwim commands. help-dwim.el provide a single command as interface for several kinds of document commands, such as describe-function, describe-variable, woman. And you can add more if you follow the rules.
A type of help-dwim commands should provide:
Register a new type of help command. An new type has a form (TYPE . [FINDER OBARRAY PREDICATE HANDLER]). If ACTIVATE is non-nil, the type will add to
help-dwim-active-type
, and BODY will eval intermediately. BODY is the code to eval when the type is activated. If the type is register without activated, the BODY will add tohelp-dwim-autoloads
. When you usehelp-dwim-active-type
orhelp-dwim-customize-type
add the type, the code will also eval then.