[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lispref/files.texi
From: |
Kai Großjohann |
Subject: |
[Emacs-diffs] Changes to emacs/lispref/files.texi |
Date: |
Fri, 02 Jul 2004 10:51:45 -0400 |
Index: emacs/lispref/files.texi
diff -c emacs/lispref/files.texi:1.69 emacs/lispref/files.texi:1.70
*** emacs/lispref/files.texi:1.69 Thu Jun 24 20:08:20 2004
--- emacs/lispref/files.texi Fri Jul 2 14:49:39 2004
***************
*** 2646,2652 ****
@end defun
@defun file-remote-p filename
! This function returns @code{t} if @var{filename} is a remote file.
@end defun
@defun unhandled-file-name-directory filename
--- 2646,2668 ----
@end defun
@defun file-remote-p filename
! This function tests whether @var{filename} is a remote file. The
! return value is an identifier of the remote system, if @var{filename}
! is indeed remote. Besides the host name, the identifier may comprise
! a user name and a method used to access that system.
!
! To illustrate, for the filename @code{/ssh:user@@host:/some/file}, the
! identifier is @code{/ssh:user@@host:}.
!
! If @var{filename} is local (not remote), then the return value is
! @code{nil}.
!
! If @code{file-remote-p} returns the same identifier for two different
! filenames, then the file handler is the same, and also the files can
! be accessed locally with respect to each other. This means, for
! example, that it is possible to start a (remote) process accessing
! both files at the same time. Implementors of file handlers need to
! ensure this.
@end defun
@defun unhandled-file-name-directory filename
- [Emacs-diffs] Changes to emacs/lispref/files.texi,
Kai Großjohann <=