el/dot-emacs.el: Set `font-lock-doc-face' (inherit `...-string-face').
authorMark Wooding <mdw@distorted.org.uk>
Sun, 23 Apr 2023 22:25:23 +0000 (23:25 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 23 Apr 2023 22:54:55 +0000 (23:54 +0100)
Mostly they're doc /strings/, not comments.

el/dot-emacs.el

index dd52be1..f5669d3 100644 (file)
@@ -1874,14 +1874,12 @@ doesn't match any of the regular expressions in
   (t :weight bold))
 (mdw-define-face font-lock-comment-delimiter-face
   (t :inherit font-lock-comment-face))
-(mdw-define-face font-lock-doc-face
-  (((min-colors 64)) :slant italic :foreground "SeaGreen1")
-  (((class color)) :foreground "green")
-  (t :weight bold))
 (mdw-define-face font-lock-string-face
   (((min-colors 64)) :foreground "SkyBlue1")
   (((class color)) :foreground "cyan")
   (t :weight bold))
+(mdw-define-face font-lock-doc-face
+  (t :inherit font-lock-string-face))
 
 (mdw-define-face message-separator
   (t :background "red" :foreground "white" :weight bold))