mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
core-lib: let-bind package-name in after!
This commit is contained in:
@ -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'.
|
||||
|
Reference in New Issue
Block a user