From: Dave Love Date: Thu, 15 Feb 2001 00:10:06 +0000 (+0000) Subject: (battery-status-function): Fix doc, :type. X-Git-Tag: emacs-pretest-21.0.98~7 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=681e6b4b6beeb96c168c7e85cb84a06a9f79e835;p=emacs.git (battery-status-function): Fix doc, :type. --- 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