diff --git a/emacs.el b/emacs.el index 3415834..b5217f3 100644 --- a/emacs.el +++ b/emacs.el @@ -1137,7 +1137,9 @@ THEM are function and its args." (when (fboundp 'editorconfig-mode) (add-hook 'after-first-visit-hook - 'editorconfig-mode)) + 'editorconfig-mode) + (add-hook 'after-first-visit-hook + 'editorconfig-mode-apply)) (set-variable 'editorconfig-get-properties-function 'editorconfig-core-get-properties-hash) (set-variable 'editorconfig-mode-lighter "")