Debug undefined add-hook-before-save
`use-package` complains that `add-hook-before-save` doesn't exist. This is because it's now named `macros-add-hook-before-save`. This fixes that.
This commit is contained in:
parent
71e57700d6
commit
924c7fa419
4 changed files with 36 additions and 5 deletions
|
|
@ -9,9 +9,20 @@
|
|||
;; My preferences for working with Elixir / Erlang projects
|
||||
|
||||
;;; Code:
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
;; Dependencies
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
|
||||
(require 'macros)
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
;; Configuration
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
|
||||
(use-package elixir-mode
|
||||
:config
|
||||
(add-hook-before-save 'elixir-mode-hook #'elixir-format))
|
||||
(macros-add-hook-before-save 'elixir-mode-hook #'elixir-format))
|
||||
|
||||
(provide 'wpc-elixir)
|
||||
;;; wpc-elixir.el ends here
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue