]> git.eshelyaron.com Git - emacs.git/commitdiff
Comment for bug#24793
authorEli Zaretskii <eliz@gnu.org>
Tue, 25 Oct 2016 19:33:14 +0000 (22:33 +0300)
committerEli Zaretskii <eliz@gnu.org>
Tue, 25 Oct 2016 19:33:14 +0000 (22:33 +0300)
* lisp/info.el (Info-mode-font-lock-keywords): Add a comment
explaining why `..' quoting is not fontified using the
'Info-quoted' face.  (Bug#24793)

lisp/info.el

index ae46fba25b965dba4c0a35014dde2f1849be694b..1689af9433e54df9365a23d028f07f1641e61f25 100644 (file)
@@ -4239,6 +4239,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))))