mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-06 06:20:55 -08:00
Return t' after calling eval-after-load'
Fixes https://github.com/jwiegley/use-package/issues/174
This commit is contained in:
parent
61d6a8e449
commit
87a8ff6d69
1 changed files with 4 additions and 2 deletions
|
|
@ -1070,8 +1070,10 @@ deferred until the prefix key sequence is pressed."
|
|||
(list t))))))
|
||||
(if (plist-get state :deferred)
|
||||
(unless (or (null config-body) (equal config-body '(t)))
|
||||
`((eval-after-load ,(if (symbolp name) `',name name)
|
||||
',(macroexp-progn config-body))))
|
||||
`((progn
|
||||
(eval-after-load ,(if (symbolp name) `',name name)
|
||||
',(macroexp-progn config-body))
|
||||
t)))
|
||||
(use-package--with-elapsed-timer
|
||||
(format "Loading package %s" name)
|
||||
(if use-package-expand-minimally
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue