]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/emacs-lisp/comp.el (comp--trampoline-abs-filename): Improve 5d0b45cd67b
authorAndrea Corallo <akrl@sdf.org>
Tue, 21 Feb 2023 13:58:28 +0000 (14:58 +0100)
committerAndrea Corallo <akrl@sdf.org>
Tue, 21 Feb 2023 15:39:39 +0000 (16:39 +0100)
lisp/emacs-lisp/comp.el

index a0b18ea864fd969cf2ec0338a2350ec0eb7271b5..046d169f00fe07e413f61899eb3a4306319a82a9 100644 (file)
@@ -3812,10 +3812,8 @@ Return the trampoline if found or nil otherwise."
    ;; Default to some temporary directory if no better option was
    ;; found.
    finally (cl-return
-            (expand-file-name
-             (make-temp-file (file-name-sans-extension rel-filename) 0 ".eln"
-                             nil)
-             temporary-file-directory))))
+            (make-temp-file (file-name-sans-extension rel-filename) nil ".eln"
+                            nil))))
 
 (defun comp-trampoline-compile (subr-name)
   "Synthesize compile and return a trampoline for SUBR-NAME."