Ver código fonte

Change func nam

master
10sr 6 anos atrás
pai
commit
138f00b48d
Acessado por: 10sr ID da chave GPG: 7BEC428194130EB2
1 arquivos alterados com 3 adições e 3 exclusões
  1. +3
    -3
      emacs.el

+ 3
- 3
emacs.el Ver arquivo

@@ -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)


Carregando…
Cancelar
Salvar