From: Amin Bandali Date: Fri, 20 May 2022 03:42:30 +0000 (-0400) Subject: * .emacs.d/init.el (b/*scratch*): Invert `mode-line' when `display-graphic-p'. X-Git-Url: https://git.shemshak.org/gitweb.cgi/~bandali/configs/commitdiff_plain/eea8548ebf049229cfdd38d85dd39789b254309c?ds=sidebyside * .emacs.d/init.el (b/*scratch*): Invert `mode-line' when `display-graphic-p'. --- diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 7f1471d..60f5f0d 100644 --- 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))) ;;; General key bindings