Commit 9d246741 authored by Bogdan Popa's avatar Bogdan Popa

save buffers after elm-{format,tags}-on-save

Fixes an issue where magit would continually prompt for files to be
saved when elm-format-on-save was nil.
parent bd85bd55
......@@ -43,7 +43,10 @@
(when elm-tags-on-save
(elm-mode-generate-tags))
(when elm-format-on-save
(elm-mode-format-buffer)
(elm-mode-format-buffer))
(when (or elm-sort-imports-on-save
elm-tags-on-save
elm-format-on-save)
(let ((before-save-hook '())
(after-save-hook '()))
(basic-save-buffer))))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment