emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-29 e7ac50a1539: * lisp/emacs-lisp/comp.el (comp--native-compile):


From: Andrea Corallo
Subject: emacs-29 e7ac50a1539: * lisp/emacs-lisp/comp.el (comp--native-compile): Fix OUTPUT for non abs paths
Date: Sun, 27 Aug 2023 10:41:56 -0400 (EDT)

branch: emacs-29
commit e7ac50a153901a2ae05eee797959874a3297faa4
Author: Andrea Corallo <acorallo@gnu.org>
Commit: Andrea Corallo <acorallo@gnu.org>

    * lisp/emacs-lisp/comp.el (comp--native-compile): Fix OUTPUT for non abs 
paths
---
 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 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]