mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-26 15:21:51 -08:00
Pre-expand lexical-let, since otherwise it requires cl to be loaded
Fixes https://github.com/jwiegley/use-package/issues/571
This commit is contained in:
parent
71fc224961
commit
7cc17cee8f
2 changed files with 16 additions and 18 deletions
|
|
@ -1213,8 +1213,7 @@
|
|||
(eval-after-load 'quux
|
||||
'(if ,_ ,_
|
||||
(setq ,_ t)
|
||||
(setq ,_ (require 'foo nil nil)))))))
|
||||
))
|
||||
(setq ,_ (require 'foo nil nil)))))))))
|
||||
|
||||
(ert-deftest use-package-test/:after-7 ()
|
||||
(match-expansion
|
||||
|
|
@ -1228,8 +1227,7 @@
|
|||
(eval-after-load 'bow
|
||||
'(if ,_ ,_
|
||||
(setq ,_ t)
|
||||
(setq ,_ (require 'foo nil nil)))))
|
||||
))
|
||||
(setq ,_ (require 'foo nil nil)))))))
|
||||
|
||||
(ert-deftest use-package-test/:after-8 ()
|
||||
(match-expansion
|
||||
|
|
@ -1254,8 +1252,7 @@
|
|||
(eval-after-load 'quux
|
||||
'(if ,_ ,_
|
||||
(setq ,_ t)
|
||||
(setq ,_ (require 'foo nil nil)))))))
|
||||
))
|
||||
(setq ,_ (require 'foo nil nil)))))))))
|
||||
|
||||
(ert-deftest use-package-test/:after-9 ()
|
||||
(match-expansion
|
||||
|
|
@ -1270,8 +1267,7 @@
|
|||
'(eval-after-load 'bow
|
||||
'(if ,_ ,_
|
||||
(setq ,_ t)
|
||||
(setq ,_ (require 'foo nil nil))))))
|
||||
))
|
||||
(setq ,_ (require 'foo nil nil))))))))
|
||||
|
||||
(ert-deftest use-package-test/:after-10 ()
|
||||
(match-expansion
|
||||
|
|
@ -1289,8 +1285,7 @@
|
|||
(eval-after-load 'baz
|
||||
'(if ,_ ,_
|
||||
(setq ,_ t)
|
||||
(setq ,_ (require 'foo nil nil)))))
|
||||
))
|
||||
(setq ,_ (require 'foo nil nil)))))))
|
||||
|
||||
(ert-deftest use-package-test/:demand-1 ()
|
||||
(match-expansion
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue