From: Michael Albinus Date: Sun, 10 Jul 2022 18:07:37 +0000 (+0200) Subject: ; * lisp/emacs-lisp/ert-x.el (tramp-remote-path): Fix last change. X-Git-Tag: emacs-29.0.90~1447^2~1035 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c6f676154581ce6a4a59b5c12e1e3b6ee685fe19;p=emacs.git ; * lisp/emacs-lisp/ert-x.el (tramp-remote-path): Fix last change. --- 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