core-lib: let-bind package-name in after!
This commit is contained in:
parent
b6d1d61496
commit
d7db99a1ef
|
@ -16,7 +16,9 @@ during compilation."
|
|||
'progn
|
||||
(message "after: cannot find %s" feature)
|
||||
'with-no-warnings)
|
||||
(with-eval-after-load ',feature ,@forms)))
|
||||
(with-eval-after-load ',feature
|
||||
(let ((package-name ',feature))
|
||||
,@forms))))
|
||||
|
||||
(defmacro add-hook! (hook &rest func-or-forms)
|
||||
"A convenience macro for `add-hook'.
|
||||
|
|
Loading…
Reference in New Issue
Block a user