* 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)
|
||||
(native-compile-target-directory
|
||||
(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
|
||||
if (or (null byte+native-compile)
|
||||
(cl-notany (lambda (re) (string-match re file))
|
||||
|
|
Loading…
Add table
Reference in a new issue