Commit 2fb3c00b authored by Andreas Schwab's avatar Andreas Schwab
Browse files

(Info-following-node-name): Skip trailing period.

(Info-extract-menu-node-name): Allow period in node name.
parent ed375739
......@@ -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.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment