mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-06-14 12:31:25 +00:00
Fix regression in Tramp file name completion
* lisp/net/tramp.el (tramp-make-tramp-file-name): Do not use the hop for the "archive" method.
This commit is contained in:
parent
d1e173140d
commit
06639a6b9b
1 changed files with 3 additions and 0 deletions
|
|
@ -1939,6 +1939,9 @@ expected to be a string, which will be used."
|
|||
(when (cadr args)
|
||||
(setq localname (and (stringp (cadr args)) (cadr args))))
|
||||
(when hop
|
||||
;; Do not keep the hop for the "archive" method.
|
||||
(when (string-equal method tramp-archive-method)
|
||||
(setq hop nil))
|
||||
;; Keep hop in file name for completion or when indicated.
|
||||
(unless (or minibuffer-completing-file-name tramp-show-ad-hoc-proxies)
|
||||
(setq hop nil))
|
||||
|
|
|
|||
Loading…
Reference in a new issue