changeset 10061:41a9afd33e98

(Info-follow-reference): Use regexp-quote.
author Richard M. Stallman <rms@gnu.org>
date Wed, 23 Nov 1994 19:56:15 +0000
parents 145bf101cccc
children 36c33f0526b2
files lisp/info.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/info.el	Wed Nov 23 09:14:29 1994 +0000
+++ b/lisp/info.el	Wed Nov 23 19:56:15 1994 +0000
@@ -828,7 +828,7 @@
 	   (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)))