mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-06 12:19:37 +00:00
pass name (not name-string) to eval-after-load
Fixes https://github.com/jwiegley/use-package/issues/52: the :config block would be triggered when loading a config file with the same name as the package and again when loading the package itself.
This commit is contained in:
parent
6efc084cdf
commit
c6d79d2cb4
1 changed files with 1 additions and 1 deletions
|
@ -637,7 +637,7 @@ For full documentation. please see commentary.
|
|||
,@form
|
||||
,init-body
|
||||
,(unless (null config-body)
|
||||
`(eval-after-load ,name-string
|
||||
`(eval-after-load ,(if (stringp name) name `',name)
|
||||
`(,(lambda ()
|
||||
(if ,requires-test
|
||||
,(macroexpand-all
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue