comparison lisp/net/ange-ftp.el @ 56259:ed6c2f79cef5

* net/ange-ftp.el (ange-ftp-file-remote-p): New return value, according to new documentation of `file-remote-p'. * files.el (file-remote-p): Fix doc to say that return value is identification of remote system, if not nil. (file-relative-name): Use new return value of `file-remote-p'.
author Kai Großjohann <kgrossjo@eu.uu.net>
date Sat, 26 Jun 2004 14:41:13 +0000
parents aed680fa845d
children 19c16bca1b49 59dcbfe97385
comparison
equal deleted inserted replaced
56258:3b1880995ace 56259:ed6c2f79cef5
4115 (ange-ftp-copy-file-internal fn1 tmp1 t nil 4115 (ange-ftp-copy-file-internal fn1 tmp1 t nil
4116 (format "Getting %s" fn1)) 4116 (format "Getting %s" fn1))
4117 tmp1)))) 4117 tmp1))))
4118 4118
4119 (defun ange-ftp-file-remote-p (file) 4119 (defun ange-ftp-file-remote-p (file)
4120 (when (ange-ftp-ftp-name file) t)) 4120 (ange-ftp-replace-name-component file ""))
4121 4121
4122 (defun ange-ftp-load (file &optional noerror nomessage nosuffix) 4122 (defun ange-ftp-load (file &optional noerror nomessage nosuffix)
4123 (if (ange-ftp-ftp-name file) 4123 (if (ange-ftp-ftp-name file)
4124 (let ((tryfiles (if nosuffix 4124 (let ((tryfiles (if nosuffix
4125 (list file) 4125 (list file)