diff options
author | Stefan Kangas <stefan@marxist.se> | 2021-05-02 15:04:00 +0200 |
---|---|---|
committer | Stefan Kangas <stefan@marxist.se> | 2021-05-02 15:04:00 +0200 |
commit | 6c1c3204e4761fd0d8bdbf22c6519d2328f60450 (patch) | |
tree | b04218c2b2ab92cf0165fed8a143c565cdfd3dfa /lisp/emacs-lisp/check-declare.el | |
parent | c842399ef01adf3f984e4c503411a9c5f025738f (diff) | |
download | emacs-6c1c3204e4761fd0d8bdbf22c6519d2328f60450.tar.gz emacs-6c1c3204e4761fd0d8bdbf22c6519d2328f60450.tar.bz2 emacs-6c1c3204e4761fd0d8bdbf22c6519d2328f60450.zip |
Add new help command 'describe-command'
* lisp/help-fns.el (describe-command): New command.
(help-fns--describe-function-or-command-prompt): New helper
function to prompt for a function or function. (Bug#46627)
(describe-function): Use above new helper function.
* lisp/help.el (help-map): Bind above new command to `C-h x'.
(help-for-help): Add this new command to the help summary.
* lisp/menu-bar.el (menu-bar-describe-menu): Add the new command to
the help menu.
* doc/emacs/help.texi (Help Summary, Name Help): Document
'describe-command', and update documentation on 'describe-function'.
* etc/tutorials/TUTORIAL: Change reference from 'describe-function' to
'describe-command'.
Diffstat (limited to 'lisp/emacs-lisp/check-declare.el')
0 files changed, 0 insertions, 0 deletions