projects
/
~bandali
/
configs
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f1bcaa
)
* .emacs.d/init.el (b/*scratch*): Invert `mode-line' when `display-graphic-p'.
author
Amin Bandali
<bandali@kelar.org>
Fri, 20 May 2022 03:42:30 +0000
(23:42 -0400)
committer
Amin Bandali
<bandali@kelar.org>
Fri, 20 May 2022 03:43:05 +0000
(23:43 -0400)
.emacs.d/init.el
patch
|
blob
|
blame
|
history
diff --git
a/.emacs.d/init.el
b/.emacs.d/init.el
index
7f1471d
..
60f5f0d
100644
(file)
--- a/
.emacs.d/init.el
+++ b/
.emacs.d/init.el
@@
-511,7
+511,9
@@
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))
+ (invert-face 'default)
+ (when (display-graphic-p)
+ (invert-face 'mode-line)))
\f
;;; General key bindings