changeset 36090:9ed7c3f74e35

(battery-status-function): Fix doc, :type.
author Dave Love <fx@gnu.org>
date Thu, 15 Feb 2001 00:10:06 +0000
parents 7c187af15c2c
children 9dc1ae87ded3
files lisp/battery.el
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/battery.el	Thu Feb 15 00:07:38 2001 +0000
+++ b/lisp/battery.el	Thu Feb 15 00:10:06 2001 +0000
@@ -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