mirror of
https://github.com/correl/doom-modeline.git
synced 2024-11-27 19:19:53 +00: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."
|
"Displays the encoding and eol style of the buffer the same way Atom does."
|
||||||
(concat (pcase (coding-system-eol-type buffer-file-coding-system)
|
(concat (pcase (coding-system-eol-type buffer-file-coding-system)
|
||||||
(0 " LF ")
|
(0 " LF ")
|
||||||
(1 "CRLF ")
|
(1 " RLF ")
|
||||||
(2 " CR "))
|
(2 " CR "))
|
||||||
(let ((sys (coding-system-plist buffer-file-coding-system)))
|
(let ((sys (coding-system-plist buffer-file-coding-system)))
|
||||||
(cond ((memq (plist-get sys :category) '(coding-category-undecided coding-category-utf-8))
|
(cond ((memq (plist-get sys :category) '(coding-category-undecided coding-category-utf-8))
|
||||||
|
|
Loading…
Reference in a new issue