projects
/
~bandali
/
configs
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64e7d61
)
* .emacs.d/init.el (b/invert-default-face): Only invert the faces for the (selected...
author
Amin Bandali
<bandali@kelar.org>
Mon, 23 May 2022 23:29:04 +0000
(19:29 -0400)
committer
Amin Bandali
<bandali@kelar.org>
Mon, 23 May 2022 23:29:04 +0000
(19:29 -0400)
.emacs.d/init.el
patch
|
blob
|
blame
|
history
diff --git
a/.emacs.d/init.el
b/.emacs.d/init.el
index
e6c6a14
..
ae6afba
100644
(file)
--- 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)