Mercurial > emacs
diff lisp/info.el @ 69782:ae7fd157df4b
doumented for fork in (Info-follow-nearest-node &optional fork)
author | Ramprasad B <ramprasad_i82@yahoo.com> |
---|---|
date | Mon, 03 Apr 2006 17:35:59 +0000 |
parents | bbbd0ad05f29 |
children | 568a39da33b5 |
line wrap: on
line diff
--- a/lisp/info.el Mon Apr 03 17:34:35 2006 +0000 +++ b/lisp/info.el Mon Apr 03 17:35:59 2006 +0000 @@ -3044,7 +3044,11 @@ (defun Info-follow-nearest-node (&optional fork) "Follow a node reference near point. If point is on a reference, follow that reference. Otherwise, -if point is in a menu item description, follow that menu item." +if point is in a menu item description, follow that menu item. + +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." (interactive "P") (or (Info-try-follow-nearest-node fork) (when (save-excursion