projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6efc084
)
pass name (not name-string) to eval-after-load
author
Noam Postavsky
<npostavs@gmail.com>
Mon, 16 Sep 2013 17:59:16 +0000
(13:59 -0400)
committer
Noam Postavsky
<npostavs@gmail.com>
Mon, 16 Sep 2013 17:59:16 +0000
(13:59 -0400)
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.
lisp/use-package/use-package.el
patch
|
blob
|
history
diff --git
a/lisp/use-package/use-package.el
b/lisp/use-package/use-package.el
index 1e3efd9045bf7fefb0ceefc17137391a2e66c832..d817db119a94e70e056f2a03c6c44b4f1581622d 100644
(file)
--- a/
lisp/use-package/use-package.el
+++ b/
lisp/use-package/use-package.el
@@
-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