From b984f5a406adc44e71cfe226bafcb4c155d5622b Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Thu, 29 Oct 2015 02:44:10 -0400 Subject: [PATCH] Don't show utf-8 encoding --- core/core-ui.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/core-ui.el b/core/core-ui.el index 4a5174465..ec4472ffe 100644 --- a/core/core-ui.el +++ b/core/core-ui.el @@ -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."