# HG changeset patch # User Masatake YAMATO # Date 1049565674 0 # Node ID 583825022e8f4a736429f5b88c87370e13e8f16a # Parent e499daf7fb22bf06a40bc8d145c1da559648474d (Info-goto-emacs-command-node): If command is given as a string, convert it to a symbol. diff -r e499daf7fb22 -r 583825022e8f lisp/ChangeLog --- a/lisp/ChangeLog Sat Apr 05 15:51:14 2003 +0000 +++ b/lisp/ChangeLog Sat Apr 05 18:01:14 2003 +0000 @@ -1,3 +1,8 @@ +2003-04-06 Masatake YAMATO + + * info.el (Info-goto-emacs-command-node): If command + is given as a string, convert it to a symbol. + 2003-04-05 Kevin Ryde * info-look.el (emacs-lisp-mode): Add prefix/suffix matching regexps. diff -r e499daf7fb22 -r 583825022e8f lisp/info.el --- a/lisp/info.el Sat Apr 05 15:51:14 2003 +0000 +++ b/lisp/info.el Sat Apr 05 18:01:14 2003 +0000 @@ -2586,8 +2586,12 @@ "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)))