summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2019-05-27 16:23:49 +0200
committerAlan Pearce2019-05-27 16:23:49 +0200
commitca3eb38bcd7605ec3d527cabf62bcaa655f25777 (patch)
tree71c06b1920d1e9846cd31a0a0f3835e8bb2d88c1
parent4c2ff310b674a1fea0e15b62d8e2269e3c5b613b (diff)
downloadnixfiles-ca3eb38bcd7605ec3d527cabf62bcaa655f25777.tar.lz
nixfiles-ca3eb38bcd7605ec3d527cabf62bcaa655f25777.tar.zst
nixfiles-ca3eb38bcd7605ec3d527cabf62bcaa655f25777.zip
Emacs: Improve contrast of inactive buffer modeline and (mini)buffer
-rw-r--r--emacs/.emacs.d/main.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el
index 0dca5c87..8e4b9436 100644
--- a/emacs/.emacs.d/main.el
+++ b/emacs/.emacs.d/main.el
@@ -144,7 +144,8 @@
     (set-face-attribute 'mode-line-inactive nil :overline   line)
     (set-face-attribute 'mode-line-inactive nil :underline  line)
     (set-face-attribute 'mode-line          nil :box        nil)
-    (set-face-attribute 'mode-line-inactive nil :box        nil))
+    (set-face-attribute 'mode-line-inactive nil :box        nil)
+    (set-face-attribute 'mode-line-inactive nil :background (face-attribute 'hl-line :background)))
 
 ;; Highlighting quasi-quoted expressions in lisps is quite useful, but I
 ;; don't need it all the time.  I'll keep it around for a while so that I