changeset 66737:09cf7401d368

(Magic File Names): find-file-name-handler checks the `operations' property of the handler.
author Richard M. Stallman <rms@gnu.org>
date Mon, 07 Nov 2005 01:07:56 +0000
parents 8bf6bc8d7145
children 2ed5507a3be3
files lispref/files.texi
diffstat 1 files changed, 7 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/lispref/files.texi	Mon Nov 07 00:50:01 2005 +0000
+++ b/lispref/files.texi	Mon Nov 07 01:07:56 2005 +0000
@@ -2706,11 +2706,13 @@
 @end defvar
 
 @defun find-file-name-handler file operation
-This function returns the handler function for file name @var{file}, or
-@code{nil} if there is none.  The argument @var{operation} should be the
-operation to be performed on the file---the value you will pass to the
-handler as its first argument when you call it.  The operation is needed
-for comparison with @code{inhibit-file-name-operation}.
+This function returns the handler function for file name @var{file},
+or @code{nil} if there is none.  The argument @var{operation} should
+be the operation to be performed on the file---the value you will pass
+to the handler as its first argument when you call it.  If
+@var{operation} equals @code{inhibit-file-name-operation}, or if it is
+not found in the @code{operations} property of the handler, this
+function returns @code{nil}.
 @end defun
 
 @defun file-local-copy filename