core-lib: let-bind package-name in after!
This commit is contained in:
parent
b6d1d61496
commit
d7db99a1ef
1 changed files with 3 additions and 1 deletions
|
@ -16,7 +16,9 @@ during compilation."
|
||||||
'progn
|
'progn
|
||||||
(message "after: cannot find %s" feature)
|
(message "after: cannot find %s" feature)
|
||||||
'with-no-warnings)
|
'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)
|
(defmacro add-hook! (hook &rest func-or-forms)
|
||||||
"A convenience macro for `add-hook'.
|
"A convenience macro for `add-hook'.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue