[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/battery.el,v
From: |
Chong Yidong |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/battery.el,v |
Date: |
Wed, 01 Nov 2006 14:24:38 +0000 |
CVSROOT: /sources/emacs
Module name: emacs
Changes by: Chong Yidong <cyd> 06/11/01 14:24:37
Index: battery.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/battery.el,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -b -r1.36 -r1.37
--- battery.el 9 May 2006 22:43:35 -0000 1.36
+++ battery.el 1 Nov 2006 14:24:37 -0000 1.37
@@ -408,6 +408,7 @@
(format "%d:%02d" hours (- minutes (* 60 hours))))
"N/A"))
(cons ?p (or (and full-capacity capacity
+ (> full-capacity 0)
(number-to-string
(floor (/ capacity
(/ (float full-capacity) 100)))))
- [Emacs-diffs] Changes to emacs/lisp/battery.el,v,
Chong Yidong <=