]> git.eshelyaron.com Git - emacs.git/commitdiff
; * lisp/battery.el (battery-status-function): Doc fix.
authorEli Zaretskii <eliz@gnu.org>
Fri, 2 May 2025 12:07:35 +0000 (15:07 +0300)
committerEshel Yaron <me@eshelyaron.com>
Sat, 10 May 2025 06:55:29 +0000 (08:55 +0200)
(cherry picked from commit 52183c9596cc4d346c872ad81ecbcf695e636f0b)

lisp/battery.el

index 240329e20a963acd5db659e0d9b0aa61c50c51fc..a738c3ed131225c7019b48ebad387b6e60c61777 100644 (file)
@@ -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))