[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-28 ffc047c896: Remove the filename argument from the command line
From: |
Alan Mackenzie |
Subject: |
emacs-28 ffc047c896: Remove the filename argument from the command line after an ELC+ELN build |
Date: |
Mon, 10 Jan 2022 12:08:05 -0500 (EST) |
branch: emacs-28
commit ffc047c896413b6e00032518fc934f08768671fa
Author: Alan Mackenzie <acm@muc.de>
Commit: Alan Mackenzie <acm@muc.de>
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.
---
lisp/emacs-lisp/comp.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el
index 2ced6277ad..5b8c20f2bf 100644
--- a/lisp/emacs-lisp/comp.el
+++ b/lisp/emacs-lisp/comp.el
@@ -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)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs-28 ffc047c896: Remove the filename argument from the command line after an ELC+ELN build,
Alan Mackenzie <=