aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/info.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/info.el b/lisp/info.el
index 2b639be1528..f96098cb550 100644
--- a/lisp/info.el
+++ b/lisp/info.el
@@ -1352,6 +1352,9 @@ saying which chars may appear in the node name."
1352 (if (looking-at "(") 1352 (if (looking-at "(")
1353 (skip-chars-forward "^)"))) 1353 (skip-chars-forward "^)")))
1354 (skip-chars-backward " ") 1354 (skip-chars-backward " ")
1355 ;; Skip trailing period.
1356 (if (equal (char-before) ?.)
1357 (forward-char -1))
1355 (point)))) 1358 (point))))
1356 1359
1357(defun Info-next () 1360(defun Info-next ()
@@ -1493,7 +1496,7 @@ FOOTNOTENAME may be an abbreviation of the reference name."
1493 (if (looking-at ":") 1496 (if (looking-at ":")
1494 (buffer-substring-no-properties beg (1- (point))) 1497 (buffer-substring-no-properties beg (1- (point)))
1495 (skip-chars-forward " \t\n") 1498 (skip-chars-forward " \t\n")
1496 (Info-following-node-name (if multi-line "^.,\t" "^.,\t\n")))) 1499 (Info-following-node-name (if multi-line "^,\t" "^,\t\n"))))
1497 (replace-regexp-in-string "[ \n]+" " " str))) 1500 (replace-regexp-in-string "[ \n]+" " " str)))
1498 1501
1499;; No one calls this. 1502;; No one calls this.