1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-27 10:54:40 +00:00

(Info-goto-emacs-command-node): If command

is given as a string, convert it to a symbol.
This commit is contained in:
Masatake YAMATO 2003-04-05 18:01:14 +00:00
parent 666721a688
commit fafb00dc11
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2003-04-06 Masatake YAMATO <jet@gyve.org>
* info.el (Info-goto-emacs-command-node): If command
is given as a string, convert it to a symbol.
2003-04-05 Kevin Ryde <user42@zip.com.au>
* info-look.el (emacs-lisp-mode): Add prefix/suffix matching regexps.

View File

@ -2586,8 +2586,12 @@ The locations are of the format used in `Info-history', i.e.
"Go to the Info node in the Emacs manual for command COMMAND.
The command is found by looking up in Emacs manual's indices
or in another manual found via COMMAND's `info-file' property or
the variable `Info-file-list-for-emacs'."
the variable `Info-file-list-for-emacs'. COMMAND must be a symbol
or string."
(interactive "CFind documentation for command: ")
;; If command is given as a string, convert it to a symbol.
(if (stringp command)
(setq command (intern command)))
(or (commandp command)
(signal 'wrong-type-argument (list 'commandp command)))
(let ((where (Info-find-emacs-command-nodes command)))