From c6f676154581ce6a4a59b5c12e1e3b6ee685fe19 Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Sun, 10 Jul 2022 20:07:37 +0200 Subject: [PATCH] ; * lisp/emacs-lisp/ert-x.el (tramp-remote-path): Fix last change. --- lisp/emacs-lisp/ert-x.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/emacs-lisp/ert-x.el b/lisp/emacs-lisp/ert-x.el index 21a967cb4c9..4436d0a4b16 100644 --- a/lisp/emacs-lisp/ert-x.el +++ b/lisp/emacs-lisp/ert-x.el @@ -493,7 +493,7 @@ The same keyword arguments are supported as in (defvar tramp-remote-path) ;; This should happen on hydra only. -(when (getenv "EMACS_HYDRA_CI") +(when (and (featurep 'tramp) (getenv "EMACS_HYDRA_CI")) (add-to-list 'tramp-remote-path 'tramp-own-remote-path)) ;; If this defconst is used in a test file, `tramp' shall be loaded -- 2.39.5