Update.
[elisp.git] / emacs.el
index 1b17d1b..fa38ffd 100644 (file)
--- a/emacs.el
+++ b/emacs.el
@@ -978,9 +978,10 @@ printer."
 
                                   (ff/temp-info-string)
 
-                                  (propertize
-                                   (ff/battery-info-string)
-                                   'face 'ff/battery-info-face)
+                                  ,@(when (ff/battery-info-string)
+                                      '((propertize
+                                        (ff/battery-info-string)
+                                        'face 'ff/battery-info-face)))
 
                                   " "