]> git.eshelyaron.com Git - emacs.git/commit
Add new help command 'describe-command'
authorStefan Kangas <stefan@marxist.se>
Sun, 2 May 2021 13:04:00 +0000 (15:04 +0200)
committerStefan Kangas <stefan@marxist.se>
Sun, 2 May 2021 13:04:00 +0000 (15:04 +0200)
commit6c1c3204e4761fd0d8bdbf22c6519d2328f60450
treeb04218c2b2ab92cf0165fed8a143c565cdfd3dfa
parentc842399ef01adf3f984e4c503411a9c5f025738f
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'.
doc/emacs/help.texi
etc/NEWS
etc/tutorials/TUTORIAL
lisp/help-fns.el
lisp/help.el
lisp/menu-bar.el