comparison lispref/files.texi @ 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 d14adceeb897
children 067115a6e738 7beb78bc1f8e
comparison
equal deleted inserted replaced
66736:8bf6bc8d7145 66737:09cf7401d368
2704 @defvar inhibit-file-name-operation 2704 @defvar inhibit-file-name-operation
2705 The operation for which certain handlers are presently inhibited. 2705 The operation for which certain handlers are presently inhibited.
2706 @end defvar 2706 @end defvar
2707 2707
2708 @defun find-file-name-handler file operation 2708 @defun find-file-name-handler file operation
2709 This function returns the handler function for file name @var{file}, or 2709 This function returns the handler function for file name @var{file},
2710 @code{nil} if there is none. The argument @var{operation} should be the 2710 or @code{nil} if there is none. The argument @var{operation} should
2711 operation to be performed on the file---the value you will pass to the 2711 be the operation to be performed on the file---the value you will pass
2712 handler as its first argument when you call it. The operation is needed 2712 to the handler as its first argument when you call it. If
2713 for comparison with @code{inhibit-file-name-operation}. 2713 @var{operation} equals @code{inhibit-file-name-operation}, or if it is
2714 not found in the @code{operations} property of the handler, this
2715 function returns @code{nil}.
2714 @end defun 2716 @end defun
2715 2717
2716 @defun file-local-copy filename 2718 @defun file-local-copy filename
2717 This function copies file @var{filename} to an ordinary non-magic file 2719 This function copies file @var{filename} to an ordinary non-magic file
2718 on the local machine, if it isn't on the local machine already. Magic 2720 on the local machine, if it isn't on the local machine already. Magic