emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/info.el


From: Masatake YAMATO
Subject: [Emacs-diffs] Changes to emacs/lisp/info.el
Date: Sat, 05 Apr 2003 13:01:15 -0500

Index: emacs/lisp/info.el
diff -c emacs/lisp/info.el:1.341 emacs/lisp/info.el:1.342
*** emacs/lisp/info.el:1.341    Mon Mar 10 08:04:10 2003
--- emacs/lisp/info.el  Sat Apr  5 13:01:14 2003
***************
*** 2586,2593 ****
    "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'."
    (interactive "CFind documentation for command: ")
    (or (commandp command)
        (signal 'wrong-type-argument (list 'commandp command)))
    (let ((where (Info-find-emacs-command-nodes command)))
--- 2586,2597 ----
    "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'. 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)))




reply via email to

[Prev in Thread] Current Thread [Next in Thread]