From ab264274ecb44eea26407591cff7ef605b071845 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Madeleine=20Sydney=20=C5=9Alaga?= Date: Sat, 20 Dec 2025 13:59:27 -0700 Subject: [PATCH] fix(emacs): eshell tramp prompt --- modules/home/users/msyds/emacs/lisp/syd/eshell.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/home/users/msyds/emacs/lisp/syd/eshell.el b/modules/home/users/msyds/emacs/lisp/syd/eshell.el index ef1efec..810f3ea 100644 --- a/modules/home/users/msyds/emacs/lisp/syd/eshell.el +++ b/modules/home/users/msyds/emacs/lisp/syd/eshell.el @@ -118,7 +118,7 @@ when the input is empty." (defun syd-split-tramp-file-name (file-name) "Split FILE-NAME into (TRAMP-PREFIX . LOCAL-NAME). Returns (nil . FILE-NAME) if FILE-NAME has no TRAMP prefix." - (if (tramp-tramp-file-p file-name) + (if (and (featurep 'tramp) (tramp-tramp-file-p file-name)) (let* ((dissected (tramp-dissect-file-name file-name t)) (localname (tramp-file-name-localname dissected))) (setf (tramp-file-name-localname dissected) nil)