emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lispref/files.texi,v


From: Michael Albinus
Subject: [Emacs-diffs] Changes to emacs/lispref/files.texi,v
Date: Tue, 17 Jul 2007 21:29:21 +0000

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Changes by:     Michael Albinus <albinus>       07/07/17 21:29:21

Index: files.texi
===================================================================
RCS file: /cvsroot/emacs/emacs/lispref/files.texi,v
retrieving revision 1.113
retrieving revision 1.114
diff -u -b -r1.113 -r1.114
--- files.texi  9 Jul 2007 14:12:56 -0000       1.113
+++ files.texi  17 Jul 2007 21:29:20 -0000      1.114
@@ -2768,7 +2768,7 @@
 of the local copy file.
 @end defun
 
address@hidden file-remote-p filename &optional connected
address@hidden file-remote-p filename &optional identification connected
 This function tests whether @var{filename} is a remote file.  If
 @var{filename} is local (not remote), the return value is @code{nil}.
 If @var{filename} is indeed remote, the return value is a string that
@@ -2786,6 +2786,13 @@
 files at the same time.  Implementors of file handlers need to ensure
 this principle is valid.
 
address@hidden specifies which part of the identifier shall be
+returned as string.  @var{identification} can be the symbol
address@hidden, @code{user} or @code{host}; any other value is handled
+like @code{nil} and means to return the complete identifier string.
+In the example above, the remote @code{user} identifier string would
+be @code{root}.
+
 If @var{connected} is address@hidden, this function returns @code{nil}
 even if @var{filename} is remote, if Emacs has no network connection
 to its host.  This is useful when you want to avoid the delay of




reply via email to

[Prev in Thread] Current Thread [Next in Thread]