/[emacs]/emacs/lisp/battery.el
ViewVC logotype

Diff of /emacs/lisp/battery.el

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.15.4.2 by miles, Tue Jul 6 09:42:24 2004 UTC revision 1.15.4.3 by miles, Sat Sep 4 09:22:55 2004 UTC
# Line 290  The following %-sequences are provided: Line 290  The following %-sequences are provided:
290                                        nil t)                                        nil t)
291                 (setq low (+ (or low 0)                 (setq low (+ (or low 0)
292                              (string-to-int (match-string 1))))))))                              (string-to-int (match-string 1))))))))
293         (directory-files "/proc/acpi/battery/" t "BAT")))         (directory-files "/proc/acpi/battery/" t "\\(BAT\\|CMB\\)")))
294      (and capacity rate      (and capacity rate
295           (setq minutes (if (zerop rate) 0           (setq minutes (if (zerop rate) 0
296                           (floor (* (/ (float (if (string= charging-state                           (floor (* (/ (float (if (string= charging-state

Legend:
Removed from v.1.15.4.2  
changed lines
  Added in v.1.15.4.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26