summaryrefslogtreecommitdiff
path: root/lisp/info.el
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2016-10-25 12:50:31 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2016-10-25 12:50:31 -0700
commit1ea669d6f0269784b3e69238fd2813f55340d53a (patch)
tree7d29af346b2c3d9010212f43fee23c559b8e918f /lisp/info.el
parentb0eecfca560737787496ba3294bc7605a0922a2a (diff)
parent4c3f7387df339176a94f49895c92fa6a5f526bae (diff)
downloademacs-1ea669d6f0269784b3e69238fd2813f55340d53a.tar.gz
Merge from origin/emacs-25
4c3f738 Comment for bug#24793
Diffstat (limited to 'lisp/info.el')
-rw-r--r--lisp/info.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/info.el b/lisp/info.el
index 6b8b3698ea0..c8b8002e0cb 100644
--- a/lisp/info.el
+++ b/lisp/info.el
@@ -4230,6 +4230,9 @@ With a zero prefix arg, put the name inside a function call to `info'."
'((t :inherit fixed-pitch-serif))
"Face used for quoted elements.")
+;; We deliberately fontify only ‘..’ quoting, and not `..', because
+;; the former can be done much more reliably, i.e. without risking
+;; false positives.
(defvar Info-mode-font-lock-keywords
'(("‘\\([^’]*\\)’" (1 'Info-quoted))))