summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2019-04-21 07:51:38 -0700
committerGlenn Morris <rgm@gnu.org>2019-04-21 07:51:38 -0700
commitd9664f0d9e03ecfbcd7115a27200c5259bc19162 (patch)
tree828dc476a162c01308d44c9149db58e57be5c43d /lisp
parentd2b78ea1d4f5deb62efac0d1cad7c8df015a2d76 (diff)
parent9d7e08dd8f28b1c62dfdff592ba92e8d2fa14726 (diff)
downloademacs-d9664f0d9e03ecfbcd7115a27200c5259bc19162.tar.gz
Merge from origin/emacs-26
9d7e08d (origin/emacs-26) Avoid false positives and false negatives o... 75b589c Fix markup related to quoting in Info fd6ff29 Merge branch 'emacs-26' of git.savannah.gnu.org:/srv/git/emac... cd2204f Add a package: line to c-submit-bug-report. a992dca ; Remove empty NEWS sections ea67270 ; Add NEWS sections for 26.3 45b0946 ; Bump Emacs version to 26.2.50 aae8cc3 * admin/admin.el (set-version): Add NEWS headers for a .50 ve...
Diffstat (limited to 'lisp')
-rw-r--r--lisp/info.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/info.el b/lisp/info.el
index 2e5f433dc8b..2882262aadf 100644
--- a/lisp/info.el
+++ b/lisp/info.el
@@ -4268,8 +4268,9 @@ With a zero prefix arg, put the name inside a function call to `info'."
;; We deliberately fontify only ‘..’ quoting, and not `..', because
;; the former can be done much more reliably, i.e. without risking
;; false positives.
+;; FIXME: It doesn't handle nested quotes.
(defvar Info-mode-font-lock-keywords
- '(("‘\\([^’]*\\)’" (1 'Info-quoted))))
+ '(("‘\\([‘’]\\|[^‘’]*\\)’" (1 'Info-quoted))))
;; Autoload cookie needed by desktop.el
;;;###autoload