summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorAndrea Corallo <acorallo@gnu.org>2023-08-27 16:07:30 +0200
committerAndrea Corallo <acorallo@gnu.org>2023-08-27 16:41:35 +0200
commite7ac50a153901a2ae05eee797959874a3297faa4 (patch)
treef1200f1cb2bcd0ac4ff46e0ff0df38776bfed2fa /lisp/emacs-lisp
parent45cf3a0cede6662418bbab4897a2f04a9ef9c962 (diff)
downloademacs-e7ac50a153901a2ae05eee797959874a3297faa4.tar.gz
emacs-e7ac50a153901a2ae05eee797959874a3297faa4.tar.bz2
emacs-e7ac50a153901a2ae05eee797959874a3297faa4.zip
* lisp/emacs-lisp/comp.el (comp--native-compile): Fix OUTPUT for non abs paths
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/comp.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el
index 0c70789be71..b5355acf7cc 100644
--- a/lisp/emacs-lisp/comp.el
+++ b/lisp/emacs-lisp/comp.el
@@ -4096,7 +4096,8 @@ the deferred compilation mechanism."
(symbols-with-pos-enabled t)
;; Have byte compiler signal an error when compilation fails.
(byte-compile-debug t)
- (comp-ctxt (make-comp-ctxt :output output
+ (comp-ctxt (make-comp-ctxt :output (when output
+ (expand-file-name output))
:with-late-load with-late-load)))
(comp-log "\n \n" 1)
(unwind-protect