summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Love <fx@gnu.org>2001-02-15 00:10:06 +0000
committerDave Love <fx@gnu.org>2001-02-15 00:10:06 +0000
commit681e6b4b6beeb96c168c7e85cb84a06a9f79e835 (patch)
treef90bed663ddf551c9802f76ef3c0bf2fb0a1a34a
parent084fd36856bd49180365eeacada9c7388729146a (diff)
downloademacs-681e6b4b6beeb96c168c7e85cb84a06a9f79e835.tar.gz
(battery-status-function): Fix doc, :type.
-rw-r--r--lisp/battery.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/battery.el b/lisp/battery.el
index ccafa8bf213..67e129b9330 100644
--- a/lisp/battery.el
+++ b/lisp/battery.el
@@ -44,14 +44,14 @@
(file-readable-p "/proc/apm"))
'battery-linux-proc-apm))
"*Function for getting battery status information.
-The function have to return an alist of conversion definitions.
-Cons cells are of the form
+The function has to return an alist of conversion definitions.
+Its cons cells are of the form
(CONVERSION . REPLACEMENT-TEXT)
CONVERSION is the character code of a \"conversion specification\"
introduced by a `%' character in a control string."
- :type 'function
+ :type '(choice (const nil) function)
:group 'battery)
(defcustom battery-echo-area-format