diff options
| author | Lars Ingebrigtsen | 2019-07-27 16:50:25 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2019-07-27 16:50:25 +0200 |
| commit | ae9202de3265111a6d94d7fc183aff0a3a49c818 (patch) | |
| tree | 82d61a38b3cfc4e9ce3c372e00bf263a32167d7b /lisp/textmodes | |
| parent | 471d198c92c68b8d20545f14644d2c8e9e807a5c (diff) | |
| download | emacs-ae9202de3265111a6d94d7fc183aff0a3a49c818.tar.gz emacs-ae9202de3265111a6d94d7fc183aff0a3a49c818.zip | |
Tweak font-locking in conf-mode for "#foo { bar" lines
* lisp/textmodes/conf-mode.el (conf-font-lock-keywords): Don't
font-lock comments as keywords (bug#24355).
Diffstat (limited to 'lisp/textmodes')
| -rw-r--r-- | lisp/textmodes/conf-mode.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/textmodes/conf-mode.el b/lisp/textmodes/conf-mode.el index ad9f60fabca..27970096f3b 100644 --- a/lisp/textmodes/conf-mode.el +++ b/lisp/textmodes/conf-mode.el | |||
| @@ -194,7 +194,7 @@ not align (only setting space according to `conf-assignment-space')." | |||
| 194 | (1 'font-lock-variable-name-face) | 194 | (1 'font-lock-variable-name-face) |
| 195 | (2 'font-lock-constant-face nil t)) | 195 | (2 'font-lock-constant-face nil t)) |
| 196 | ;; section { ... } (do this last because some assign ...{...) | 196 | ;; section { ... } (do this last because some assign ...{...) |
| 197 | ("^[ \t]*\\([^=:\n]+?\\)[ \t\n]*{[^{}]*?$" 1 'font-lock-type-face prepend)) | 197 | ("^[ \t]*\\([^#=:\n]+?\\)[ \t\n]*{[^{}]*?$" 1 'font-lock-type-face prepend)) |
| 198 | "Keywords to highlight in Conf mode.") | 198 | "Keywords to highlight in Conf mode.") |
| 199 | 199 | ||
| 200 | (defvar conf-javaprop-font-lock-keywords | 200 | (defvar conf-javaprop-font-lock-keywords |