summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@csail.mit.edu>2016-09-01 11:13:39 -0400
committerGravatar Adam Chlipala <adamc@csail.mit.edu>2016-09-01 11:13:39 -0400
commit4daa34c90be6aebb62abaec75006e19f6666b5c6 (patch)
tree4e4a6f27c624cca25a465a6bd38c8f4fbcc27ace
parentde0a0f3c917f66646d1982281fae750c49f261d6 (diff)
Emacs mode: switch font-lock-cvariable-face to inherit from font-lock-type-face, to avoid hardcoding of colors
-rw-r--r--src/elisp/urweb-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/elisp/urweb-mode.el b/src/elisp/urweb-mode.el
index d1eec2a1..69b0e23c 100644
--- a/src/elisp/urweb-mode.el
+++ b/src/elisp/urweb-mode.el
@@ -281,7 +281,7 @@ See doc for the variable `urweb-mode-info'."
"Face name to use for SQL keywords.")
(defface font-lock-cvariable-face
- '((t (:foreground "dark blue")))
+ '((t (:inherit font-lock-type-face)))
"Font Lock mode face used to highlight capitalized identifiers."
:group 'font-lock-highlighting-faces)
(defvar font-lock-cvariable-face 'font-lock-cvariable-face