* lisp/emacs-lisp/comp.el (comp--trampoline-abs-filename): Improve 5d0b45cd67

This commit is contained in:
Andrea Corallo 2023-02-21 14:58:28 +01:00
parent 06ba948416
commit 68df9e5953

View 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."