mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-06 22:41:06 -08:00
Make the byte compiler give correct warning positions in eval-and-compile
This fixes bug #61579. * lisp/emacs-lisp/bytecomp.el (byte-compile-initial-environment): Remove a spurious `byte-run-strip-symbol-position' from the core form of the eval-and-compile element.
This commit is contained in:
parent
a5ad897b35
commit
fcf2f7aead
1 changed files with 3 additions and 4 deletions
|
|
@ -530,10 +530,9 @@ Return the compile-time value of FORM."
|
|||
;; or byte-compile-file-form.
|
||||
(let* ((print-symbols-bare t) ; Possibly redundant binding.
|
||||
(expanded
|
||||
(byte-run-strip-symbol-positions
|
||||
(macroexpand--all-toplevel
|
||||
form
|
||||
macroexpand-all-environment))))
|
||||
(macroexpand--all-toplevel
|
||||
form
|
||||
macroexpand-all-environment)))
|
||||
(eval expanded lexical-binding)
|
||||
expanded)))))
|
||||
(with-suppressed-warnings
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue