Breaking change: rewrite add-transient-hook!
HOOK is now evaluated. Hooks should be quoted (and functions
sharp-quoted).
This also fixes commit 0150f78e
.
This commit is contained in:
parent
0d9c0e7f54
commit
baad7953bf
6 changed files with 26 additions and 18 deletions
|
@ -13,7 +13,7 @@
|
|||
:init
|
||||
;; Ensure `yas-reload-all' is called as late as possible. Other modules could
|
||||
;; have additional configuration for yasnippet. For example, file-templates.
|
||||
(add-transient-hook! yas-minor-mode-hook (yas-reload-all))
|
||||
(add-transient-hook! 'yas-minor-mode-hook (yas-reload-all))
|
||||
|
||||
(add-hook! (text-mode prog-mode snippet-mode)
|
||||
#'yas-minor-mode-on)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue