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)))
(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)))