From: Eli Zaretskii Date: Sat, 22 Sep 2001 15:10:59 +0000 (+0000) Subject: (Info-goto-node, Info-menu): Doc fix. Suggested by X-Git-Tag: emacs-pretest-21.0.106~40 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=dc414be1447317662dd07a5a706529cbf6b36474;p=emacs.git (Info-goto-node, Info-menu): Doc fix. Suggested by Roland Winkler . --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 7173b620105..5162fd3a94c 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2001-09-22 Eli Zaretskii + + * info.el (Info-goto-node, Info-menu): Doc fix. Suggested by + Roland Winkler . + 2001-09-21 Eli Zaretskii * dired.el (dired-build-subdir-alist): Accept optional arg diff --git a/lisp/info.el b/lisp/info.el index d18b1c543b8..6fbe187fcef 100644 --- a/lisp/info.el +++ b/lisp/info.el @@ -1040,6 +1040,10 @@ Bind this in case the user sets it to nil." (defun Info-goto-node (nodename &optional fork) "Go to info node named NODENAME. Give just NODENAME or (FILENAME)NODENAME. +If NODENAME is of the form (FILENAME)NODENAME, the node is in the Info file +FILENAME; otherwise, NODENAME should be in the current Info file (or one of +its sub-files). +Completion is available, but only for node names in the current Info file. If FORK is non-nil (interactively with a prefix arg), show the node in a new info buffer. If FORK is a string, it is the name to use for the new buffer." @@ -1449,8 +1453,9 @@ FOOTNOTENAME may be an abbreviation of the reference name." (defun Info-menu (menu-item &optional fork) - "Go to node for menu item named (or abbreviated) NAME. -Completion is allowed, and the menu item point is on is the default. + "Go to the node pointed to by the menu item named (or abbreviated) MENU-ITEM. +The menu item should one of those listed in the current node's menu. +Completion is allowed, and the default menu item is the one point is on. If FORK is non-nil (interactively with a prefix arg), show the node in a new info buffer. If FORK is a string, it is the name to use for the new buffer."