From 8bf730c6637646109e668181faf19dc2013f17b2 Mon Sep 17 00:00:00 2001 Message-Id: <8bf730c6637646109e668181faf19dc2013f17b2.1718323477.git.mdw@distorted.org.uk> From: Mark Wooding Date: Tue, 22 Mar 2016 13:35:06 +0000 Subject: [PATCH] dot/emacs: Set `frame-background-mode' variable. Organization: Straylight/Edgeware From: Mark Wooding Some packages apparently go looking at this instead of the `background-mode' frame parameter. Go figure. --- dot/emacs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dot/emacs b/dot/emacs index 54072f1..fe857bc 100644 --- a/dot/emacs +++ b/dot/emacs @@ -484,7 +484,8 @@ ;; Default frame size. -(setq default-frame-alist +(setq frame-background-mode (if mdw-black-background 'dark 'light) + default-frame-alist `((width . ,(if (>= emacs-major-version 21) 77 78)) (height . 33) (vertical-scroll-bars . right) @@ -496,7 +497,7 @@ (tool-bar-lines . 0) (menu-bar-lines . 1) (cursor-color . "red") - (background-mode . ,(if mdw-black-background 'dark 'light))) + (background-mode . ,frame-background-mode)) initial-frame-alist `((width . ,(if (>= emacs-major-version 21) 77 78)) (menu-bar-lines . ,(if window-system 1 0))) -- [mdw]