From bc696b2f79926d90d1e9859755c37c75df0cb6f4 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Tue, 9 May 2017 17:32:26 +0900 Subject: [PATCH] Add editorconfig-charset-extras hook --- emacs.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/emacs.el b/emacs.el index 3e86e11..0aaa5bc 100644 --- a/emacs.el +++ b/emacs.el @@ -664,6 +664,10 @@ found, otherwise returns nil." (add-hook 'editorconfig-custom-hooks 'editorconfig-custom-majormode)) +(when (fboundp 'editorconfig-charset-extras) + (add-hook 'editorconfig-custom-hooks + 'editorconfig-charset-extras)) + (setq revert-without-query '(".+")) ;; save cursor position