diff options
Diffstat (limited to 'lisp/info.el')
-rw-r--r-- | lisp/info.el | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lisp/info.el b/lisp/info.el index 8a43a8182aa..454fadaca03 100644 --- a/lisp/info.el +++ b/lisp/info.el @@ -3398,12 +3398,10 @@ 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 (concat "['`‘]" name "['’]") nil t) + (search-forward (format "['`‘]%s['’]" name) nil t) (and (string-match "\\`.*\\( (.*)\\)\\'" name) (search-forward - (concat "['`%‘]" - (substring name 0 (match-beginning 1)) - "['%’]") + (format "['`‘]%s['’]" (substring name 0 (match-beginning 1))) nil t)) (search-forward name nil t) ;; Try again without the " <1>" makeinfo can append |