From e6c0eeaf0f753c6e49013207730642031af181bb Mon Sep 17 00:00:00 2001 From: Allen Li Date: Wed, 10 Jan 2018 00:43:03 -0800 Subject: [PATCH] Add leading space to battery-mode-line-format * lisp/battery.el (battery-mode-line-format): Add leading space. --- lisp/battery.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/battery.el b/lisp/battery.el index ca17ae8fc3..880b3536fb 100644 --- a/lisp/battery.el +++ b/lisp/battery.el @@ -119,9 +119,9 @@ battery-mode-line-limit (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 -- 2.15.1