From c15bc91e1bf5a04da48f03866a9461b6046dba15 Mon Sep 17 00:00:00 2001 From: Andrea Corallo Date: Sat, 18 Feb 2023 22:44:05 +0100 Subject: [PATCH] * Fix `native-comp-enable-subr-trampolines' semantic * lisp/emacs-lisp/comp.el (comp--trampoline-abs-filename): Interpret `native-comp-enable-subr-trampolines' relative to `invocation-directory'. --- 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 2d9cad6d98c..a2bad6ce6a8 100644 --- a/lisp/emacs-lisp/comp.el +++ b/lisp/emacs-lisp/comp.el @@ -3794,7 +3794,8 @@ Return the trampoline if found or nil otherwise." "Return the absolute filename for a trampoline for SUBR-NAME." (cl-loop with dirs = (if (stringp native-comp-enable-subr-trampolines) - (list native-comp-enable-subr-trampolines) + (list (expand-file-name native-comp-enable-subr-trampolines + invocation-directory)) (if native-compile-target-directory (list (expand-file-name comp-native-version-dir native-compile-target-directory)) -- 2.39.5