comparison lispref/files.texi @ 51020:417a9e80f335

(Magic File Names): Document the safe-magic property.
author Richard M. Stallman <rms@gnu.org>
date Fri, 16 May 2003 13:32:42 +0000
parents 3bf63c244c44
children 5a85c7c1d3ab
comparison
equal deleted inserted replaced
51019:d60c03f7aa72 51020:417a9e80f335
2403 @code{inhibit-file-name-operation}. Be careful to use them exactly as 2403 @code{inhibit-file-name-operation}. Be careful to use them exactly as
2404 shown above; the details are crucial for proper behavior in the case of 2404 shown above; the details are crucial for proper behavior in the case of
2405 multiple handlers, and for operations that have two file names that may 2405 multiple handlers, and for operations that have two file names that may
2406 each have handlers. 2406 each have handlers.
2407 2407
2408 @kindex safe-magic (@r{property})
2409 Handlers that don't really do anything specal for actual access to the
2410 file---such as the ones that implement completion of host names for
2411 remote file names---should have a non-@code{nil} @code{safe-magic}
2412 property. For instance, Emacs normally ``protects'' directory names
2413 it finds in @code{PATH} from becoming magic, if they look like magic
2414 file names, by prefixing them with @samp{/:}. But if the handler that
2415 would be used for them has a non-@code{nil} @code{safe-magic}
2416 property, the @samp{/:} is not added.
2417
2408 @defvar inhibit-file-name-handlers 2418 @defvar inhibit-file-name-handlers
2409 This variable holds a list of handlers whose use is presently inhibited 2419 This variable holds a list of handlers whose use is presently inhibited
2410 for a certain operation. 2420 for a certain operation.
2411 @end defvar 2421 @end defvar
2412 2422