Remove extra space in buffer-encoding segment.

This commit is contained in:
Vincent Zhang 2019-11-19 23:55:15 +08:00
parent 2d7928a328
commit b1ad832208

View file

@ -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))) (let ((eol (coding-system-eol-type buffer-file-coding-system)))
(propertize (propertize
(pcase eol (pcase eol
(0 "LF") (0 "LF ")
(1 "CRLF") (1 "CRLF ")
(2 "CR") (2 "CR ")
(_ "")) (_ ""))
'face face 'face face
'mouse-face mouse-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) (define-key map [mode-line mouse-1] 'mode-line-change-eol)
map))) map)))
(doom-modeline-spc)
;; coding system ;; coding system
(propertize (propertize
(let ((sys (coding-system-plist buffer-file-coding-system))) (let ((sys (coding-system-plist buffer-file-coding-system)))