diff options
Diffstat (limited to 'lisp/info.el')
-rw-r--r-- | lisp/info.el | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/info.el b/lisp/info.el index 0a2206d61bf..1b02c3585b1 100644 --- a/lisp/info.el +++ b/lisp/info.el @@ -3398,10 +3398,12 @@ Give an empty topic name to go to the Index node itself." (re-search-forward (format "[a-zA-Z]+: [a-zA-Z0-9_ *&]+ %s\\( \\|$\\)" (regexp-quote name)) nil t) - (search-forward (format "['`‘]%s['’]" name) nil t) + (search-forward (concat "['`‘]" name "['’]") nil t) (and (string-match "\\`.*\\( (.*)\\)\\'" name) (search-forward - (format "['`‘]%s['’]" (substring name 0 (match-beginning 1))) + (concat "['`%‘]" + (substring name 0 (match-beginning 1)) + "['%’]") nil t)) (search-forward name nil t) ;; Try again without the " <1>" makeinfo can append |