all repos — nixfiles @ ca3eb38bcd7605ec3d527cabf62bcaa655f25777

System and user configuration, managed by nix and home-manager

Emacs: Improve contrast of inactive buffer modeline and (mini)buffer
Alan Pearce alan@alanpearce.eu
Mon, 27 May 2019 16:23:49 +0200
commit

ca3eb38bcd7605ec3d527cabf62bcaa655f25777

parent

4c2ff310b674a1fea0e15b62d8e2269e3c5b613b

1 files changed, 2 insertions(+), 1 deletions(-)

jump to
M emacs/.emacs.d/main.elemacs/.emacs.d/main.el
@@ -144,7 +144,8 @@ (set-face-attribute 'mode-line          nil :overline   line)     (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