Mercurial > emacs
comparison 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 |
comparison
equal
deleted
inserted
replaced
69781:9a5e8a784858 | 69782:ae7fd157df4b |
---|---|
3042 (Info-next-preorder))) | 3042 (Info-next-preorder))) |
3043 | 3043 |
3044 (defun Info-follow-nearest-node (&optional fork) | 3044 (defun Info-follow-nearest-node (&optional fork) |
3045 "Follow a node reference near point. | 3045 "Follow a node reference near point. |
3046 If point is on a reference, follow that reference. Otherwise, | 3046 If point is on a reference, follow that reference. Otherwise, |
3047 if point is in a menu item description, follow that menu item." | 3047 if point is in a menu item description, follow that menu item. |
3048 | |
3049 If fork is non-nil (interactively with a prefix arg), show the node in | |
3050 a new Info buffer. | |
3051 If fork is a string, it is the name to use for the new buffer." | |
3048 (interactive "P") | 3052 (interactive "P") |
3049 (or (Info-try-follow-nearest-node fork) | 3053 (or (Info-try-follow-nearest-node fork) |
3050 (when (save-excursion | 3054 (when (save-excursion |
3051 (search-backward "\n* menu:" nil t)) | 3055 (search-backward "\n* menu:" nil t)) |
3052 (save-excursion | 3056 (save-excursion |