]> code.delx.au - gnu-emacs/commitdiff
(Info-extract-menu-node-name)
authorAndreas Schwab <schwab@suse.de>
Mon, 10 Mar 2003 13:04:10 +0000 (13:04 +0000)
committerAndreas Schwab <schwab@suse.de>
Mon, 10 Mar 2003 13:04:10 +0000 (13:04 +0000)
(Info-following-node-name): Revert last change.

lisp/info.el

index f96098cb550cf707eda98a40d18ee12358ac0fe8..2b639be15285576835471645dc3495446113a116 100644 (file)
@@ -1352,9 +1352,6 @@ saying which chars may appear in the node name."
        (if (looking-at "(")
           (skip-chars-forward "^)")))
      (skip-chars-backward " ")
-     ;; Skip trailing period.
-     (if (equal (char-before) ?.)
-        (forward-char -1))
      (point))))
 
 (defun Info-next ()
@@ -1496,7 +1493,7 @@ FOOTNOTENAME may be an abbreviation of the reference name."
          (if (looking-at ":")
              (buffer-substring-no-properties beg (1- (point)))
            (skip-chars-forward " \t\n")
-           (Info-following-node-name (if multi-line "^,\t" "^,\t\n"))))
+           (Info-following-node-name (if multi-line "^.,\t" "^.,\t\n"))))
     (replace-regexp-in-string "[ \n]+" " " str)))
 
 ;; No one calls this.