]> git.eshelyaron.com Git - emacs.git/commit
Add a new user option battery-update-functions
authorLars Ingebrigtsen <larsi@gnus.org>
Fri, 3 Jun 2022 03:56:44 +0000 (05:56 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Fri, 3 Jun 2022 03:56:44 +0000 (05:56 +0200)
commit1d5eb67c6a87bcf155429b11af98de913e901dd9
tree4364832b09443ee0b73df1f508626928023535a1
parent1e42c2c5fcf3f6162de3072d221c2f97c9fb1c67
Add a new user option battery-update-functions

* doc/emacs/display.texi (Optional Mode Line): Document it.
* lisp/battery.el (battery-update-functions): New user option
(bug#55770).
(battery-update): Use it.
doc/emacs/display.texi
etc/NEWS
lisp/battery.el