From 747804abfc216d67aad63615c7d5946458da189d Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 2 May 2025 15:07:35 +0300 Subject: [PATCH] ; * lisp/battery.el (battery-status-function): Doc fix. (cherry picked from commit 52183c9596cc4d346c872ad81ecbcf695e636f0b) --- lisp/battery.el | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lisp/battery.el b/lisp/battery.el index 240329e20a9..a738c3ed131 100644 --- a/lisp/battery.el +++ b/lisp/battery.el @@ -136,7 +136,13 @@ 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." +introduced by a `%' character in a control string. See the +documentation of `battery-echo-area-format' for supported conversion +specifications and the format used by `battery' to show battery +status in the echo area. + +The default value of the function is determined at startup, and depends +on the battery-related services available on the system." :version "28.1" :type '(choice (const nil) function)) -- 2.39.5