From b1ad832208fb965a9e1a2f3e4752406056ca6d07 Mon Sep 17 00:00:00 2001 From: Vincent Zhang Date: Tue, 19 Nov 2019 23:55:15 +0800 Subject: [PATCH] Remove extra space in buffer-encoding segment. --- doom-modeline-segments.el | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/doom-modeline-segments.el b/doom-modeline-segments.el index a0dd9dc..2e4c134 100644 --- a/doom-modeline-segments.el +++ b/doom-modeline-segments.el @@ -467,9 +467,9 @@ directory, the file name, and its state (modified, read-only or non-existent)." (let ((eol (coding-system-eol-type buffer-file-coding-system))) (propertize (pcase eol - (0 "LF") - (1 "CRLF") - (2 "CR") + (0 "LF ") + (1 "CRLF ") + (2 "CR ") (_ "")) 'face face 'mouse-face mouse-face @@ -483,8 +483,6 @@ directory, the file name, and its state (modified, read-only or non-existent)." (define-key map [mode-line mouse-1] 'mode-line-change-eol) map))) - (doom-modeline-spc) - ;; coding system (propertize (let ((sys (coding-system-plist buffer-file-coding-system)))