Skip to content

Commit 415e5e5

Browse files
committed
use run-mode-hooks as recommended by emacs
1 parent bd96e46 commit 415e5e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

elixir-format.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ Shamelessly stolen from go-mode (https://github.com/dominikh/go-mode.el)"
183183

184184
(write-region nil nil tmpfile)
185185

186-
(run-hooks 'elixir-format-hook)
186+
(run-mode-hooks 'elixir-format-hook)
187187

188188
(when elixir-format-arguments
189189
(setq our-elixir-format-arguments (append our-elixir-format-arguments elixir-format-arguments)))

0 commit comments

Comments
 (0)