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:
Henrik Lissner 2017-06-05 16:41:39 +02:00
parent 0d9c0e7f54
commit baad7953bf
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
6 changed files with 26 additions and 18 deletions

View file

@ -36,7 +36,7 @@
(def-package! evil-anzu
:when (featurep 'evil)
:init
(add-transient-hook! evil-ex-start-search (require 'evil-anzu))
(add-transient-hook! #'evil-ex-start-search (require 'evil-anzu))
:config
(setq anzu-cons-mode-line-p nil
anzu-minimum-input-length 1