]> git.eshelyaron.com Git - emacs.git/commitdiff
(Info-following-node-name): New function.
authorRichard M. Stallman <rms@gnu.org>
Sun, 5 Oct 2003 13:51:04 +0000 (13:51 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 5 Oct 2003 13:51:04 +0000 (13:51 +0000)
lisp/info.el

index 28869c4f469072db08cbcfda58ccd6dbe7ea255b..e11fdbf16ad38c1f3d20a1a128f876b00fd8832d 100644 (file)
@@ -1441,6 +1441,11 @@ End of submatch 0, 1, and 3 are the same, so you can safely concat."
          "[" (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)