summaryrefslogtreecommitdiff
path: root/lisp/time.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2021-07-23 14:40:53 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2021-07-23 14:40:53 +0200
commitbb68faed02d6c0eef48923b4ef4e4eda5e6486ba (patch)
treef4addaa226c24b6321dcddbf733987cd13b3530d /lisp/time.el
parentf3806ee149c698e2a87258c5ecdea8bc8aa88664 (diff)
downloademacs-bb68faed02d6c0eef48923b4ef4e4eda5e6486ba.tar.gz
'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.
Diffstat (limited to 'lisp/time.el')
-rw-r--r--lisp/time.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/time.el b/lisp/time.el
index fd53f634c69..9f25f99a149 100644
--- a/lisp/time.el
+++ b/lisp/time.el
@@ -205,7 +205,8 @@ depend on `display-time-day-and-date' and `display-time-24hr-format'."
'mouse-face 'mode-line-highlight
'local-map (make-mode-line-mouse-map 'mouse-2
read-mail-command)))
- ""))
+ "")
+ " ")
"List of expressions governing display of the time in the mode line.
For most purposes, you can control the time format using `display-time-format'
which is a more standard interface.