# HG changeset patch # User Michael Albinus # Date 1222666916 0 # Node ID e2da96799e459fd7188ee0e22d697ae5d7cf4cf2 # Parent 05e41fd49efca9ec7fdd1ba70e947b4f19584acb * net/ange-ftp.el (ange-ftp-file-remote-p): Handle `localname' as identification. diff -r 05e41fd49efc -r e2da96799e45 lisp/net/ange-ftp.el --- a/lisp/net/ange-ftp.el Mon Sep 29 05:39:39 2008 +0000 +++ b/lisp/net/ange-ftp.el Mon Sep 29 05:41:56 2008 +0000 @@ -4127,7 +4127,8 @@ (defun ange-ftp-file-remote-p (file &optional identification connected) (let* ((parsed (ange-ftp-ftp-name file)) (host (nth 0 parsed)) - (user (nth 1 parsed))) + (user (nth 1 parsed)) + (localname (nth 2 parsed))) (and (or (not connected) (let ((proc (get-process (ange-ftp-ftp-process-buffer host user)))) (and proc (processp proc) @@ -4136,6 +4137,7 @@ ((eq identification 'method) (and parsed "ftp")) ((eq identification 'user) user) ((eq identification 'host) host) + ((eq identification 'localname) localname) (t (ange-ftp-replace-name-component file "")))))) (defun ange-ftp-load (file &optional noerror nomessage nosuffix)