From 2fb3c00b46da7a18170dff03df6fbb73dadd7322 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Fri, 7 Mar 2003 11:34:40 +0000 Subject: [PATCH] (Info-following-node-name): Skip trailing period. (Info-extract-menu-node-name): Allow period in node name. --- lisp/info.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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." (if (looking-at "(") (skip-chars-forward "^)"))) (skip-chars-backward " ") + ;; Skip trailing period. + (if (equal (char-before) ?.) + (forward-char -1)) (point)))) (defun Info-next () @@ -1493,7 +1496,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. -- 2.11.4.GIT