summaryrefslogtreecommitdiff
path: root/lisp/appearance/modeline.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/appearance/modeline.el')
-rw-r--r--lisp/appearance/modeline.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/appearance/modeline.el b/lisp/appearance/modeline.el
index 296a4f5..4fa1710 100644
--- a/lisp/appearance/modeline.el
+++ b/lisp/appearance/modeline.el
@@ -29,7 +29,7 @@
;;
;; Obviously, my tower lacks a battery, so I only enable this on my laptop.
-(when (string= (system-name) "Upsilon")
+(expand-when (string= (system-name) "Upsilon")
(require 'battery)
(display-battery-mode +1)
(setq battery-mode-line-format "%L: %t, %p%%%%"))

© 2015 - 2026 Jakob L. Kreuze