diff options
| author | Jakob L. Kreuze | 2020-07-23 20:24:32 -0400 |
|---|---|---|
| committer | Jakob L. Kreuze | 2020-07-23 20:24:32 -0400 |
| commit | 8e231c0dda4d393cc18561b2ceeff250965049b8 (patch) | |
| tree | 82facf110f854331e38acf021773f073e8833c97 /lisp/appearance/modeline.el | |
| parent | c95f7283c3baa97232a47ee45c5c558c5126bab3 (diff) | |
Implement compile-time conditional expansion.
Diffstat (limited to 'lisp/appearance/modeline.el')
| -rw-r--r-- | lisp/appearance/modeline.el | 2 |
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%%%%")) |