summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2001-09-22 15:10:59 +0000
committerEli Zaretskii <eliz@gnu.org>2001-09-22 15:10:59 +0000
commitdc414be1447317662dd07a5a706529cbf6b36474 (patch)
tree7c0d7dc63160be07afdae1e31c5413771acc3930 /lisp
parent4d2200855e5a7b01edf663a3be54093000f2a0be (diff)
downloademacs-dc414be1447317662dd07a5a706529cbf6b36474.tar.gz
(Info-goto-node, Info-menu): Doc fix. Suggested by
Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/info.el9
2 files changed, 12 insertions, 2 deletions
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 <eliz@is.elta.co.il>
+
+ * info.el (Info-goto-node, Info-menu): Doc fix. Suggested by
+ Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>.
+
2001-09-21 Eli Zaretskii <eliz@is.elta.co.il>
* 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."