mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-06 14:30:50 -08:00
* Fix `batch-byte+native-compile' target directory.
* lisp/emacs-lisp/comp.el (batch-native-compile): Don't shadow `native-compile-target-directory' unless necessary.
This commit is contained in:
parent
8dbd5aa1ee
commit
842dbf500e
1 changed files with 3 additions and 2 deletions
|
|
@ -4306,7 +4306,8 @@ last directory in `native-comp-eln-load-path')."
|
||||||
(let ((comp-running-batch-compilation t)
|
(let ((comp-running-batch-compilation t)
|
||||||
(native-compile-target-directory
|
(native-compile-target-directory
|
||||||
(if for-tarball
|
(if for-tarball
|
||||||
(car (last native-comp-eln-load-path)))))
|
(car (last native-comp-eln-load-path))
|
||||||
|
native-compile-target-directory)))
|
||||||
(cl-loop for file in command-line-args-left
|
(cl-loop for file in command-line-args-left
|
||||||
if (or (null byte+native-compile)
|
if (or (null byte+native-compile)
|
||||||
(cl-notany (lambda (re) (string-match re file))
|
(cl-notany (lambda (re) (string-match re file))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue