diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2019-07-27 16:50:25 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2019-07-27 16:50:25 +0200 |
commit | ae9202de3265111a6d94d7fc183aff0a3a49c818 (patch) | |
tree | 82d61a38b3cfc4e9ce3c372e00bf263a32167d7b | |
parent | 471d198c92c68b8d20545f14644d2c8e9e807a5c (diff) | |
download | emacs-ae9202de3265111a6d94d7fc183aff0a3a49c818.tar.gz |
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).
-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')." (1 'font-lock-variable-name-face) (2 'font-lock-constant-face nil t)) ;; section { ... } (do this last because some assign ...{...) - ("^[ \t]*\\([^=:\n]+?\\)[ \t\n]*{[^{}]*?$" 1 'font-lock-type-face prepend)) + ("^[ \t]*\\([^#=:\n]+?\\)[ \t\n]*{[^{}]*?$" 1 'font-lock-type-face prepend)) "Keywords to highlight in Conf mode.") (defvar conf-javaprop-font-lock-keywords |