[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/battery.el [lexbind]
From: |
Miles Bader |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/battery.el [lexbind] |
Date: |
Sat, 04 Sep 2004 05:45:23 -0400 |
Index: emacs/lisp/battery.el
diff -c emacs/lisp/battery.el:1.15.4.2 emacs/lisp/battery.el:1.15.4.3
*** emacs/lisp/battery.el:1.15.4.2 Tue Jul 6 09:42:24 2004
--- emacs/lisp/battery.el Sat Sep 4 09:22:55 2004
***************
*** 290,296 ****
nil t)
(setq low (+ (or low 0)
(string-to-int (match-string 1))))))))
! (directory-files "/proc/acpi/battery/" t "BAT")))
(and capacity rate
(setq minutes (if (zerop rate) 0
(floor (* (/ (float (if (string= charging-state
--- 290,296 ----
nil t)
(setq low (+ (or low 0)
(string-to-int (match-string 1))))))))
! (directory-files "/proc/acpi/battery/" t "\\(BAT\\|CMB\\)")))
(and capacity rate
(setq minutes (if (zerop rate) 0
(floor (* (/ (float (if (string= charging-state
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/lisp/battery.el [lexbind],
Miles Bader <=