aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2008-01-30 21:25:08 +0000
committerStefan Monnier2008-01-30 21:25:08 +0000
commit8299c8a5ce1394b8d173eb453710600a3529fc1d (patch)
tree2b26d5a98812e0189ce25232759173ba2975f676
parent884ca30e8f1c377a2c94d56450f64ed49156471c (diff)
downloademacs-8299c8a5ce1394b8d173eb453710600a3529fc1d.tar.gz
emacs-8299c8a5ce1394b8d173eb453710600a3529fc1d.zip
(file-remote-p): Docstring fix.
-rw-r--r--lisp/files.el12
1 files changed, 6 insertions, 6 deletions
diff --git a/lisp/files.el b/lisp/files.el
index c790aa58810..ffa8e0a328f 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -765,12 +765,12 @@ This is an interface to the function `load'."
765 765
766(defun file-remote-p (file &optional identification connected) 766(defun file-remote-p (file &optional identification connected)
767 "Test whether FILE specifies a location on a remote system. 767 "Test whether FILE specifies a location on a remote system.
768Return an identification of the system if the location is indeed 768Returns nil or a string identifying the remote connection (ideally
769remote. The identification of the system may comprise a method 769a prefix of FILE). For example, the remote identification for filename
770to access the system and its hostname, amongst other things. 770\"/user@host:/foo\" could be \"/user@host:\".
771 771A file is considered \"remote\" if accessing it is likely to be slower or
772For example, the filename \"/user@host:/foo\" specifies a location 772less reliable than accessing local files.
773on the system \"/user@host:\". 773Furthermore, relative file names do not work across remote connections.
774 774
775IDENTIFICATION specifies which part of the identification shall 775IDENTIFICATION specifies which part of the identification shall
776be returned as string. IDENTIFICATION can be the symbol 776be returned as string. IDENTIFICATION can be the symbol