diff options
author | Michael Albinus <michael.albinus@gmx.de> | 2022-10-18 19:39:34 +0200 |
---|---|---|
committer | Michael Albinus <michael.albinus@gmx.de> | 2022-10-18 19:39:34 +0200 |
commit | 40d2ed9bab2d1c060f50f0c23b3dda47a846f764 (patch) | |
tree | 13499937fe861753888e4a7a87532ce8c4d14524 | |
parent | cd1a81e572d96c93a1c58b8f85f6105f380342c8 (diff) | |
download | emacs-40d2ed9bab2d1c060f50f0c23b3dda47a846f764.tar.gz |
* lisp/net/tramp.el (tramp-file-name-equal-p): Fix docstring.
-rw-r--r-- | lisp/net/tramp-integration.el | 2 | ||||
-rw-r--r-- | lisp/net/tramp.el | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/lisp/net/tramp-integration.el b/lisp/net/tramp-integration.el index 4be019edd9d..78107e1a03b 100644 --- a/lisp/net/tramp-integration.el +++ b/lisp/net/tramp-integration.el @@ -125,6 +125,8 @@ been set up by `rfn-eshadow-setup-minibuffer'." ;; eshell.el keeps the path in `eshell-path-env'. We must change it ;; when `default-directory' points to another host. +;; This is fixed in Eshell with Emacs 29.1. + (defun tramp-eshell-directory-change () "Set `eshell-path-env' to $PATH of the host related to `default-directory'." ;; Remove last element of `(exec-path)', which is `exec-directory'. diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el index 4ff57e5d560..c06adb01e8c 100644 --- a/lisp/net/tramp.el +++ b/lisp/net/tramp.el @@ -1526,7 +1526,8 @@ same connection. Make a copy in order to avoid side effects." ;; Comparison of file names is performed by `tramp-equal-remote'. (defun tramp-file-name-equal-p (vec1 vec2) - "Check, whether VEC1 and VEC2 denote the same `tramp-file-name'." + "Check, whether VEC1 and VEC2 denote the same `tramp-file-name'. +LOCALNAME and HOP do not count." (and (tramp-file-name-p vec1) (tramp-file-name-p vec2) (equal (tramp-file-name-unify vec1) (tramp-file-name-unify vec2)))) |