+2008-09-29 Michael Albinus <michael.albinus@gmx.de>
+
+ * files.el (file-remote-p): Precise doc string; IDENTIFICATION can
+ also be `localname'.
+
+ * net/ange-ftp.el (ange-ftp-file-remote-p): Handle `localname' as
+ identification.
+
2008-09-28 Glenn Morris <rgm@gnu.org>
* vc.el (vc-switches): Give it a doc string.
(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)
((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)