aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2003-05-16 13:32:42 +0000
committerRichard M. Stallman2003-05-16 13:32:42 +0000
commit4f683b1b9cf6fd03b08b8eadf42f97f116762fce (patch)
tree86f424df1e0be2b52c38f12d5236a72d784f4587
parent733b241e48a8f87dd3d552e8ec890d43e9a3dd73 (diff)
downloademacs-4f683b1b9cf6fd03b08b8eadf42f97f116762fce.tar.gz
emacs-4f683b1b9cf6fd03b08b8eadf42f97f116762fce.zip
(Magic File Names): Document the safe-magic property.
-rw-r--r--lispref/files.texi10
1 files changed, 10 insertions, 0 deletions
diff --git a/lispref/files.texi b/lispref/files.texi
index 69680e532f4..875b3066050 100644
--- a/lispref/files.texi
+++ b/lispref/files.texi
@@ -2405,6 +2405,16 @@ shown above; the details are crucial for proper behavior in the case of
2405multiple handlers, and for operations that have two file names that may 2405multiple handlers, and for operations that have two file names that may
2406each have handlers. 2406each have handlers.
2407 2407
2408@kindex safe-magic (@r{property})
2409Handlers that don't really do anything specal for actual access to the
2410file---such as the ones that implement completion of host names for
2411remote file names---should have a non-@code{nil} @code{safe-magic}
2412property. For instance, Emacs normally ``protects'' directory names
2413it finds in @code{PATH} from becoming magic, if they look like magic
2414file names, by prefixing them with @samp{/:}. But if the handler that
2415would be used for them has a non-@code{nil} @code{safe-magic}
2416property, the @samp{/:} is not added.
2417
2408@defvar inhibit-file-name-handlers 2418@defvar inhibit-file-name-handlers
2409This variable holds a list of handlers whose use is presently inhibited 2419This variable holds a list of handlers whose use is presently inhibited
2410for a certain operation. 2420for a certain operation.