From 5b21adff6c0285b03ac68cf8789616c83eb694a8 Mon Sep 17 00:00:00 2001 From: 10sr <8.slashes@gmail.com> Date: Mon, 3 Feb 2020 18:00:11 +0900 Subject: [PATCH] Fix editorconfig hook --- emacs.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/emacs.el b/emacs.el index b5217f3..9c85971 100644 --- a/emacs.el +++ b/emacs.el @@ -1139,7 +1139,8 @@ THEM are function and its args." (add-hook 'after-first-visit-hook 'editorconfig-mode) (add-hook 'after-first-visit-hook - 'editorconfig-mode-apply)) + 'editorconfig-mode-apply + t)) ;; Do after enabling editorconfig-mode (set-variable 'editorconfig-get-properties-function 'editorconfig-core-get-properties-hash) (set-variable 'editorconfig-mode-lighter "")