Parcourir la source

Change func nam

master
10sr il y a 5 ans
Parent
révision
138f00b48d
Signé par: 10sr ID de la clé GPG: 7BEC428194130EB2
1 fichiers modifiés avec 3 ajouts et 3 suppressions
  1. +3
    -3
      emacs.el

+ 3
- 3
emacs.el Voir le fichier

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


Chargement…
Annuler
Enregistrer