From: Francois Fleuret Date: Mon, 30 Nov 2015 17:51:29 +0000 (+0100) Subject: Update. X-Git-Url: https://www.fleuret.org/cgi-bin/gitweb/gitweb.cgi?p=elisp.git;a=commitdiff_plain;h=f5316890bfd66584aa3d285d28b73cef836c39db Update. --- 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))) " "