core-lib: remove message on byte-compile for after! macro

This commit is contained in:
Henrik Lissner 2017-02-01 00:36:12 -05:00
parent d30027aaea
commit 058967d4de

View file

@ -14,11 +14,8 @@ during compilation."
(require feature nil :no-error) (require feature nil :no-error)
(load feature :no-message :no-error))) (load feature :no-message :no-error)))
'progn 'progn
(message "after: cannot find %s" feature)
'with-no-warnings) 'with-no-warnings)
(with-eval-after-load ',feature (with-eval-after-load ',feature ,@forms)))
(let ((package-name ',feature))
,@forms))))
(defmacro add-hook! (hook &rest func-or-forms) (defmacro add-hook! (hook &rest func-or-forms)
"A convenience macro for `add-hook'. "A convenience macro for `add-hook'.