X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/2311d8e5a62b8b6dd7dde45b4b8059d443e2abac..493c66882d491bcd6178e580abea92787f3e1555:/lisp/net/tramp-ftp.el diff --git a/lisp/net/tramp-ftp.el b/lisp/net/tramp-ftp.el index 73bc687811..44ae176c6c 100644 --- a/lisp/net/tramp-ftp.el +++ b/lisp/net/tramp-ftp.el @@ -49,9 +49,8 @@ (defun tramp-disable-ange-ftp () "Turn Ange-FTP off. This is useful for unified remoting. See -`tramp-file-name-structure-unified' and -`tramp-file-name-structure-separate' for details. Requests suitable -for Ange-FTP will be forwarded to Ange-FTP. Also see the variables +`tramp-file-name-structure' for details. Requests suitable for +Ange-FTP will be forwarded to Ange-FTP. Also see the variables `tramp-ftp-method', `tramp-default-method', and `tramp-default-method-alist'. @@ -204,8 +203,8 @@ pass to the OPERATION." ;;;###tramp-autoload (defsubst tramp-ftp-file-name-p (filename) "Check if it's a filename that should be forwarded to Ange-FTP." - (let ((v (tramp-dissect-file-name filename))) - (string= (tramp-file-name-method v) tramp-ftp-method))) + (string= (tramp-file-name-method (tramp-dissect-file-name filename)) + tramp-ftp-method)) ;;;###tramp-autoload (unless (featurep 'xemacs)