mirror of
https://github.com/correl/doom-modeline.git
synced 2025-03-18 17:00:06 -09:00
Update formats of buffer-encoding.
This commit is contained in:
parent
ac1605a92c
commit
e466611f68
1 changed files with 5 additions and 5 deletions
|
@ -802,7 +802,7 @@ directory, the file name, and its state (modified, read-only or non-existent)."
|
|||
"Displays the encoding and eol style of the buffer the same way Atom does."
|
||||
(concat (pcase (coding-system-eol-type buffer-file-coding-system)
|
||||
(0 " LF ")
|
||||
(1 "CRLF ")
|
||||
(1 " RLF ")
|
||||
(2 " CR "))
|
||||
(let ((sys (coding-system-plist buffer-file-coding-system)))
|
||||
(cond ((memq (plist-get sys :category) '(coding-category-undecided coding-category-utf-8))
|
||||
|
|
Loading…
Add table
Reference in a new issue