emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/adoc-mode d0e5bb31f2 184/199: Remove the aggressive defaul


From: ELPA Syncer
Subject: [nongnu] elpa/adoc-mode d0e5bb31f2 184/199: Remove the aggressive default background of native code blocks
Date: Sun, 3 Sep 2023 06:59:45 -0400 (EDT)

branch: elpa/adoc-mode
commit d0e5bb31f28af4313b804cf27f0d7bd12fd91e58
Author: Bozhidar Batsov <bozhidar@batsov.dev>
Commit: Bozhidar Batsov <bozhidar@batsov.dev>

    Remove the aggressive default background of native code blocks
---
 adoc-mode.el | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/adoc-mode.el b/adoc-mode.el
index 65d0ebdbf8..4cd8ddb67f 100644
--- a/adoc-mode.el
+++ b/adoc-mode.el
@@ -914,11 +914,10 @@ or for footnotes, or for floating text."
 (defvar adoc-secondary-text-face 'adoc-secondary-text-face)
 
 (defface adoc-native-code-face
-  '((((background light))
-     (:background "cornsilk" :extend t))
-    (((background dark))
-     (:background "saddlebrown" :extend t)))
-  "For code blocks that are highlighted natively."
+  '((t (:inherit fixed-pitch)))
+  "For code blocks that are highlighted natively.
+
+Use it to change the background of the code blocks."
   :group 'adoc-faces)
 (defvar adoc-native-code-face 'adoc-native-code-face)
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]