瀏覽代碼

Change func nam

master
10sr 5 年之前
父節點
當前提交
138f00b48d
簽署人: 10sr GPG Key ID: 7BEC428194130EB2
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. +3
    -3
      emacs.el

+ 3
- 3
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)


Loading…
取消
儲存