Commit 4c3f7387 authored by Eli Zaretskii's avatar Eli Zaretskii

Comment for bug#24793

* lisp/info.el (Info-mode-font-lock-keywords): Add a comment
explaining why `..' quoting is not fontified using the
'Info-quoted' face.  (Bug#24793)
parent 32827b37
......@@ -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))))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment