Remove the filename argument from the command line after an ELC+ELN build
This fixes bug #53164. Without this fix, bootstrap-emacs loads the source file uselessly into a buffer after completing the compilation.
This commit is contained in:
parent
74223bbdaf
commit
ffc047c896
1 changed files with 2 additions and 1 deletions
|
@ -4224,7 +4224,8 @@ variable 'NATIVE_DISABLED' is set, only byte compile."
|
|||
(batch-native-compile)
|
||||
(pcase byte-to-native-output-file
|
||||
(`(,tempfile . ,target-file)
|
||||
(rename-file tempfile target-file t))))))
|
||||
(rename-file tempfile target-file t)))
|
||||
(setq command-line-args-left (cdr command-line-args-left)))))
|
||||
|
||||
;;;###autoload
|
||||
(defun native-compile-async (files &optional recursively load selector)
|
||||
|
|
Loading…
Add table
Reference in a new issue