From 138f00b48d3c2443fc4da4cb54e3c14a501d3282 Mon Sep 17 00:00:00 2001 From: 10sr <8.slashes@gmail.com> Date: Wed, 24 Oct 2018 18:02:43 +0900 Subject: [PATCH] Change func nam --- emacs.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/emacs.el b/emacs.el index fe714a8..90547d0 100644 --- a/emacs.el +++ b/emacs.el @@ -2006,11 +2006,11 @@ Return that buffer." :lighter "" (if editorconfig-auto-apply-mode (add-hook 'after-save-hook - 'editorconfig-auto-apply-mode--when-save) + 'editorconfig-auto-apply-mode--run) (remove-hook 'after-save-hook - 'editorconfig-auto-apply-mode--when-save))) + 'editorconfig-auto-apply-mode--run))) -(defun editorconfig-auto-apply-mode--when-save () +(defun editorconfig-auto-apply-mode--run () "When saving .editorconfig file walk all buffers and update configs." (when (eq major-mode 'editorconfig-conf-mode)