From 681e6b4b6beeb96c168c7e85cb84a06a9f79e835 Mon Sep 17 00:00:00 2001 From: Dave Love Date: Thu, 15 Feb 2001 00:10:06 +0000 Subject: [PATCH] (battery-status-function): Fix doc, :type. --- lisp/battery.el | 6 +++--- 1 file 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 -- 2.39.5