mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-21 15:40:59 -08:00
(Info-following-node-name): Skip trailing period.
(Info-extract-menu-node-name): Allow period in node name.
This commit is contained in:
parent
ed37573938
commit
2fb3c00b46
1 changed files with 4 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue