diff options
Diffstat (limited to 'jakob.org')
| -rw-r--r-- | jakob.org | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -822,8 +822,9 @@ sequences, the percent symbol has to be escaped twice -- once for =battery-format=, and once for =mode-line-format=. #+BEGIN_SRC elisp -(display-battery-mode +1) -(setq battery-mode-line-format "%L: %t, %p%%%%") +(when (string= (system-name) "Upsilon") + (display-battery-mode +1) + (setq battery-mode-line-format "%L: %t, %p%%%%")) #+END_SRC Use an =:eval= form to align modeline contents. |