mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-29 14:33:34 -05:00
modeline: shorten PREFER-UTF-8 to UTF-8
This commit is contained in:
@@ -217,9 +217,8 @@ directory, the file name, and its state (modified, read-only or non-existent)."
|
|||||||
(cond ((eq eol-type 0) "LF ")
|
(cond ((eq eol-type 0) "LF ")
|
||||||
((eq eol-type 1) "CRLF ")
|
((eq eol-type 1) "CRLF ")
|
||||||
((eq eol-type 2) "CR ")))
|
((eq eol-type 2) "CR ")))
|
||||||
(upcase (symbol-name
|
(let ((coding-sys (plist-get (coding-system-plist buffer-file-coding-system) :name)))
|
||||||
(plist-get (coding-system-plist buffer-file-coding-system)
|
(upcase (symbol-name (if (eq coding-sys 'prefer-utf-8) 'utf-8 coding-sys))))
|
||||||
:name)))
|
|
||||||
" "))
|
" "))
|
||||||
|
|
||||||
(defun *major-mode ()
|
(defun *major-mode ()
|
||||||
|
Reference in New Issue
Block a user