mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-27 07:37:33 +00:00
(Info-follow-reference): Use regexp-quote.
This commit is contained in:
parent
18f2905613
commit
3ffefa7935
@ -828,7 +828,7 @@ NAME may be an abbreviation of the reference name."
|
||||
(list (if (equal input "")
|
||||
default input)))
|
||||
(error "No cross-references in this node"))))
|
||||
(let (target beg i (str (concat "\\*note " footnotename)))
|
||||
(let (target beg i (str (concat "\\*note " (regexp-quote footnotename))))
|
||||
(while (setq i (string-match " " str i))
|
||||
(setq str (concat (substring str 0 i) "[ \t\n]+" (substring str (1+ i))))
|
||||
(setq i (+ i 6)))
|
||||
|
Loading…
Reference in New Issue
Block a user