diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2015-06-02 22:50:57 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2015-06-02 22:52:44 -0700 |
commit | 8e06d22bb654c649da6f32bd235a84eb2f4d188d (patch) | |
tree | 5892c615c581c3905d01c5d27562627fd8c837c1 /lisp/info.el | |
parent | f2211e51b7bd5247dfc22ecde8e6c4be3821b6fb (diff) | |
download | emacs-8e06d22bb654c649da6f32bd235a84eb2f4d188d.tar.gz |
Support quotes 'like this' in info files
This is possible when 'makeinfo --disable-encoding' is used
in Texinfo 5.
* lisp/calc/calc-help.el (calc-describe-thing):
* lisp/gnus/gnus-art.el (gnus-button-alist):
* lisp/info.el (Info-find-index-name):
* lisp/vc/ediff-help.el (ediff-help-for-quick-help):
Also support quotes 'like this'.
* lisp/calc/calc-help.el (calc-describe-thing): Simplify.
* lisp/finder.el (finder-font-lock-keywords): Remove var that
hasn't been used in years, instead of bothering to fix its quoting.
Diffstat (limited to 'lisp/info.el')
-rw-r--r-- | lisp/info.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/info.el b/lisp/info.el index 80428e700a0..59ce465f5aa 100644 --- a/lisp/info.el +++ b/lisp/info.el @@ -3378,10 +3378,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 (format "[`‘]%s['’]" name) nil t) + (search-forward (format "['`‘]%s['’]" name) nil t) (and (string-match "\\`.*\\( (.*)\\)\\'" name) (search-forward - (format "[`‘]%s['’]" (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 |