1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

'global-mode-string' elements should have a space at the end

* lisp/time.el (display-time-string-forms):
* lisp/battery.el (battery-mode-line-format): Add a space to the
end (bug#30056).
* lisp/bindings.el (mode-line-misc-info): Remove space from end.
This will make the default format have one space before the
line-of-dashes (instead of two) on terminals.
This commit is contained in:
Lars Ingebrigtsen 2021-07-23 14:40:53 +02:00
parent f3806ee149
commit bb68faed02
5 changed files with 17 additions and 8 deletions

View file

@ -161,9 +161,9 @@ The full `format-spec' formatting syntax is supported."
(defcustom battery-mode-line-format
(cond ((eq battery-status-function #'battery-linux-proc-acpi)
"[%b%p%%,%d°C]")
"[%b%p%%,%d°C] ")
(battery-status-function
"[%b%p%%]"))
"[%b%p%%] "))
"Control string formatting the string to display in the mode line.
Ordinary characters in the control string are printed as-is, while
conversion specifications introduced by a `%' character in the control