Update.
authorFrancois Fleuret <francois@fleuret.org>
Mon, 16 Nov 2015 13:01:00 +0000 (14:01 +0100)
committerFrancois Fleuret <francois@fleuret.org>
Mon, 16 Nov 2015 13:01:00 +0000 (14:01 +0100)
emacs.el

index aea32d6..6d4ffe8 100644 (file)
--- a/emacs.el
+++ b/emacs.el
@@ -896,7 +896,8 @@ printer."
             (pcase (ff/battery-state ff/battery-dirs)
               (`charging (format "c%d%%" (ff/battery-percent)))
               (`discharging (format "d%d%%" (ff/battery-percent)))
-              (_ "f"))
+              (`unknown "f")
+              (_ "?"))
 
             )