summaryrefslogtreecommitdiffhomepage
path: root/lib/themes
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2021-10-26 21:57:14 +0100
committerjao <jao@gnu.org>2021-10-26 21:57:14 +0100
commit63c3013ee281783c3264ef589d54fa5b9fdb8ca3 (patch)
treeb520d02afed04420e32ff3356ed1a37cd78fa050 /lib/themes
parent34288685116e90826aaa5639bafc4b5ef58b2575 (diff)
downloadelibs-63c3013ee281783c3264ef589d54fa5b9fdb8ca3.tar.gz
elibs-63c3013ee281783c3264ef589d54fa5b9fdb8ca3.tar.bz2
the default bg/fg situation
Diffstat (limited to 'lib/themes')
-rw-r--r--lib/themes/jao-themes.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/themes/jao-themes.el b/lib/themes/jao-themes.el
index 5ed1295..d3f6baa 100644
--- a/lib/themes/jao-themes.el
+++ b/lib/themes/jao-themes.el
@@ -1164,9 +1164,11 @@
(f-alist (assq-delete-all 'background-color kvs))
(f-alist (assq-delete-all 'foreground-color f-alist)))
(when jao-themes--fg
- (push (cons 'foreground-color jao-themes--fg) f-alist))
+ (push (cons 'foreground-color jao-themes--fg) f-alist)
+ (set-frame-parameter nil 'foreground-color jao-themes--fg))
(when jao-themes--bg
- (push (cons 'background-color jao-themes--bg) f-alist))
+ (push (cons 'background-color jao-themes--bg) f-alist)
+ (set-frame-parameter nil 'background-color jao-themes--fg))
(setq window-system-default-frame-alist
(cons
(cons kind f-alist)