emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-25 4c3f738: Comment for bug#24793


From: Eli Zaretskii
Subject: [Emacs-diffs] emacs-25 4c3f738: Comment for bug#24793
Date: Tue, 25 Oct 2016 19:34:25 +0000 (UTC)

branch: emacs-25
commit 4c3f7387df339176a94f49895c92fa6a5f526bae
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    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)
---
 lisp/info.el |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/lisp/info.el b/lisp/info.el
index ae46fba..1689af9 100644
--- a/lisp/info.el
+++ b/lisp/info.el
@@ -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))))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]