diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2023-07-19 11:29:32 -0400 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2023-07-21 11:48:42 -0400 |
commit | ca4bc9baf9d2c861ad776da07e56381da8e3722a (patch) | |
tree | 17550fdaa0e733f33223b511cc456e30561629ca /test/lisp/emacs-lisp/cl-generic-tests.el | |
parent | b9a910a701a792825462a75332a9aec6824fe874 (diff) | |
download | emacs-ca4bc9baf9d2c861ad776da07e56381da8e3722a.tar.gz emacs-ca4bc9baf9d2c861ad776da07e56381da8e3722a.tar.bz2 emacs-ca4bc9baf9d2c861ad776da07e56381da8e3722a.zip |
macroexp.el: Fix missing warning for intermediate expansions
When a macro expanded to a call to an obsolete macro, we failed
to emit a warning for that use of the obsolete macro.
* lisp/emacs-lisp/macroexp.el (macroexp-macroexpand):
Use `macroexpand-1` to check obsolecence of intermediate expansions.
* test/lisp/emacs-lisp/macroexp-tests.el
(macroexp--test-obsolete-macro): New test.
Diffstat (limited to 'test/lisp/emacs-lisp/cl-generic-tests.el')
0 files changed, 0 insertions, 0 deletions