diff options
| author | Eli Zaretskii | 2016-10-25 22:33:14 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2016-10-25 22:33:14 +0300 |
| commit | 4c3f7387df339176a94f49895c92fa6a5f526bae (patch) | |
| tree | ad07806b0dd3b2ced545ff0922a89addb3d02f30 | |
| parent | 32827b374da7b085fc8a45bd35bf57a1afa325f9 (diff) | |
| download | emacs-4c3f7387df339176a94f49895c92fa6a5f526bae.tar.gz emacs-4c3f7387df339176a94f49895c92fa6a5f526bae.zip | |
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)
| -rw-r--r-- | lisp/info.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/info.el b/lisp/info.el index ae46fba25b9..1689af9433e 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'." | |||
| 4239 | '((t :inherit fixed-pitch-serif)) | 4239 | '((t :inherit fixed-pitch-serif)) |
| 4240 | "Face used for quoted elements.") | 4240 | "Face used for quoted elements.") |
| 4241 | 4241 | ||
| 4242 | ;; We deliberately fontify only ‘..’ quoting, and not `..', because | ||
| 4243 | ;; the former can be done much more reliably, i.e. without risking | ||
| 4244 | ;; false positives. | ||
| 4242 | (defvar Info-mode-font-lock-keywords | 4245 | (defvar Info-mode-font-lock-keywords |
| 4243 | '(("‘\\([^’]*\\)’" (1 'Info-quoted)))) | 4246 | '(("‘\\([^’]*\\)’" (1 'Info-quoted)))) |
| 4244 | 4247 | ||