Mercurial > emacs
comparison lispref/files.texi @ 81772:665f8d0fb99f
(Magic File Names): Rewrite previous change.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 09 Jul 2007 14:12:56 +0000 |
parents | 44be65f35e43 |
children | 9c550f0c81fa a66921565bcb |
comparison
equal
deleted
inserted
replaced
81771:500aec79cf40 | 81772:665f8d0fb99f |
---|---|
2784 be accessed locally with respect to each other. This means, for | 2784 be accessed locally with respect to each other. This means, for |
2785 example, that it is possible to start a remote process accessing both | 2785 example, that it is possible to start a remote process accessing both |
2786 files at the same time. Implementors of file handlers need to ensure | 2786 files at the same time. Implementors of file handlers need to ensure |
2787 this principle is valid. | 2787 this principle is valid. |
2788 | 2788 |
2789 The optional parameter @var{connected}, when passed non-@code{nil}, | 2789 If @var{connected} is non-@code{nil}, this function returns @code{nil} |
2790 triggers an additional check whether the remote system has been | 2790 even if @var{filename} is remote, if Emacs has no network connection |
2791 connected already. The function returns then @code{nil} if there is | 2791 to its host. This is useful when you want to avoid the delay of |
2792 no corresponding open connection, even if @var{filename} is remote. | 2792 making connections when they don't exist. |
2793 This can be used to avoid unnecessary connection attempts. | |
2794 @end defun | 2793 @end defun |
2795 | 2794 |
2796 @defun unhandled-file-name-directory filename | 2795 @defun unhandled-file-name-directory filename |
2797 This function returns the name of a directory that is not magic. It | 2796 This function returns the name of a directory that is not magic. It |
2798 uses the directory part of @var{filename} if that is not magic. For a | 2797 uses the directory part of @var{filename} if that is not magic. For a |