From 8e231c0dda4d393cc18561b2ceeff250965049b8 Mon Sep 17 00:00:00 2001 From: Jakob L. Kreuze Date: Thu, 23 Jul 2020 20:24:32 -0400 Subject: Implement compile-time conditional expansion. --- lisp/appearance/modeline.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lisp/appearance') 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%%%%")) -- cgit v1.3