Don't show utf-8 encoding

This commit is contained in:
Henrik Lissner 2015-10-29 02:44:10 -04:00
parent 8b4d87c883
commit b984f5a406

View File

@ -214,7 +214,7 @@
(spaceline-define-segment narf-buffer-encoding-abbrev
"The line ending convention used in the buffer."
(symbol-name buffer-file-coding-system)
:when (not (string-prefix-p "utf-8" (symbol-name buffer-file-coding-system))))
:when (not (string-match-p "utf-8" (symbol-name buffer-file-coding-system))))
(spaceline-define-segment narf-buffer-position
"A more vim-like buffer position."