branch: elpa/adoc-mode
commit d0e5bb31f28af4313b804cf27f0d7bd12fd91e58
Author: Bozhidar Batsov <[email protected]>
Commit: Bozhidar Batsov <[email protected]>
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)