X-Git-Url: https://www.fleuret.org/cgi-bin/gitweb/gitweb.cgi?p=elisp.git;a=blobdiff_plain;f=emacs.el;h=fa38ffd55a00a4be80779fd11ff60729a319e2aa;hp=1b17d1bc2f6787d7f2c60240f538fd63031cea05;hb=f5316890bfd66584aa3d285d28b73cef836c39db;hpb=be47b541dee450d8a2ea822ef1056ddcd8f09f03 diff --git a/emacs.el b/emacs.el index 1b17d1b..fa38ffd 100644 --- 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))) " "