From 7ce52f6c414f8316478c974077fac28281e5fbeb Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Fri, 24 Jun 2016 17:02:12 +0900 Subject: [PATCH] Add config for editorconfig-custom-majormode --- emacs.el | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/emacs.el b/emacs.el index b1868ff..2260909 100644 --- a/emacs.el +++ b/emacs.el @@ -128,6 +128,7 @@ found, otherwise returns nil." ensime editorconfig + editorconfig-custom-majormode cyberpunk-theme grandshell-theme @@ -702,6 +703,10 @@ found, otherwise returns nil." ;; 'editorconfig-core-get-properties-hash) (editorconfig-mode 1)) +(when (fboundp 'editorconfig-custom-majormode) + (add-hook 'editorconfig-custom-hooks + 'editorconfig-custom-majormode)) + (setq revert-without-query '(".+")) ;; save cursor position