changeset 52756:371ac8b3328e

(Info-following-node-name): New function.
author Richard M. Stallman <rms@gnu.org>
date Sun, 05 Oct 2003 13:51:04 +0000
parents 6c7cae7ce71a
children c546768fdb22
files lisp/info.el
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/info.el	Sun Oct 05 13:50:18 2003 +0000
+++ b/lisp/info.el	Sun Oct 05 13:51:04 2003 +0000
@@ -1441,6 +1441,11 @@
 	  "[" (or allowedchars "^,\t\n") " ]" ;The last char can't be a space.
 	  "\\|\\)\\)"))			      ;Allow empty node names.
 
+;;; For compatibility; other files have used this name.
+(defun Info-following-node-name ()
+  (and (looking-at (Info-following-node-name-re))
+       (match-string 1)))
+
 (defun Info-next ()
   "Go to the next node of this node."
   (interactive)