summaryrefslogtreecommitdiff
path: root/test/lisp/emacs-lisp/macroexp-tests.el
Commit message (Collapse)AuthorAgeFilesLines
* * test/lisp/emacs-lisp/macroexp-tests.el (macroexp--tests-file-name): Add caseStefan Monnier2021-02-241-0/+5
| | | | | | | | | | Add use of `macroexp-file-name` from a macro called from within a function, which works thanks to eager-macroexpansion (so the macro is expanded which the file is being loaded rather than only later when the function is called). * test/lisp/emacs-lisp/macroexp-resources/m1.el (macroexp--m1-tests-file-name): New function.
* * test/lisp/emacs-lisp/macroexp-tests.el (macroexp--tests-file-name): New testStefan Monnier2021-02-241-1/+32
| | | | | * test/lisp/emacs-lisp/macroexp-resources/m1.el: * test/lisp/emacs-lisp/macroexp-resources/m2.el: New files.
* * lisp/emacs-lisp/macroexp.el (macroexp--fgrep): Break cyclesStefan Monnier2021-02-101-0/+36
* test/lisp/emacs-lisp/macroexp-tests.el: New file.