emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/battery.el


From: Juri Linkov
Subject: [Emacs-diffs] Changes to emacs/lisp/battery.el
Date: Sat, 11 Mar 2006 22:34:46 +0000

Index: emacs/lisp/battery.el
diff -u emacs/lisp/battery.el:1.34 emacs/lisp/battery.el:1.35
--- emacs/lisp/battery.el:1.34  Sat Mar 11 15:08:42 2006
+++ emacs/lisp/battery.el       Sat Mar 11 22:34:46 2006
@@ -391,8 +391,8 @@
                                         rate-type)) "N/A"))
          (cons ?B (or charging-state "N/A"))
          (cons ?b (or (and (string= charging-state "charging") "+")
-                      (and (< capacity low) "!")
-                      (and (< capacity warn) "-")
+                      (and capacity (< capacity low) "!")
+                      (and capacity (< capacity warn) "-")
                       ""))
          (cons ?h (or (and hours (number-to-string hours)) "N/A"))
          (cons ?m (or (and minutes (number-to-string minutes)) "N/A"))




reply via email to

[Prev in Thread] Current Thread [Next in Thread]