Revert "Preserve source position of macro calls in macro expansions"

This reverts commit 2114a955c2.
No agreement on this (bug#73725).
This commit is contained in:
Mattias Engdegård 2024-10-20 16:53:52 +02:00
parent 2114a955c2
commit 53e84f8cfa
3 changed files with 21 additions and 94 deletions

View file

@ -2582,7 +2582,7 @@ Call from the source buffer."
byte-compile-jump-tables nil))))
(defun byte-compile-preprocess (form &optional _for-effect)
(setq form (macroexpand-all form byte-compile-macro-environment t))
(setq form (macroexpand-all form byte-compile-macro-environment))
;; FIXME: We should run byte-optimize-form here, but it currently does not
;; recurse through all the code, so we'd have to fix this first.
;; Maybe a good fix would be to merge byte-optimize-form into