diff options
author | Amin Bandali <bandali@kelar.org> | 2022-05-23 19:29:04 -0400 |
---|---|---|
committer | Amin Bandali <bandali@kelar.org> | 2022-05-23 19:29:04 -0400 |
commit | 99b2827820540e6c64accd39e4e237378aebdcbc (patch) | |
tree | d98ca4794378130dff24138be0984e2f4058ccec | |
parent | 64e7d61578f5aa3b2d0c411e6cd39bc355e2d4e6 (diff) | |
download | configs-99b2827820540e6c64accd39e4e237378aebdcbc.tar.gz configs-99b2827820540e6c64accd39e4e237378aebdcbc.tar.xz configs-99b2827820540e6c64accd39e4e237378aebdcbc.zip |
* .emacs.d/init.el (b/invert-default-face): Only invert the faces for the (selected-frame).
Diffstat (limited to '')
-rw-r--r-- | .emacs.d/init.el | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el index e6c6a14..ae6afba 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -436,9 +436,8 @@ Make N (default: 1) copies of the current line or region." "Invert the `default' face (swap its background and foreground). Effectively a very simple light/dark theme toggle switch." (interactive) - (invert-face 'default) - (when (display-graphic-p) - (invert-face 'mode-line))) + (invert-face 'default (selected-frame)) + (invert-face 'mode-line (selected-frame))) (defun b/export-frame () (interactive) |