]> git.eshelyaron.com Git - emacs.git/commitdiff
; * lisp/emacs-lisp/ert-x.el (tramp-remote-path): Fix last change.
authorMichael Albinus <michael.albinus@gmx.de>
Sun, 10 Jul 2022 18:07:37 +0000 (20:07 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Sun, 10 Jul 2022 18:07:37 +0000 (20:07 +0200)
lisp/emacs-lisp/ert-x.el

index 21a967cb4c97e2ad9389f1d5a545b93932c83cb1..4436d0a4b161459cab2ac3bf345e80c12b3881e2 100644 (file)
@@ -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