diff options
| author | Richard M. Stallman | 2003-05-16 13:32:42 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2003-05-16 13:32:42 +0000 |
| commit | 4f683b1b9cf6fd03b08b8eadf42f97f116762fce (patch) | |
| tree | 86f424df1e0be2b52c38f12d5236a72d784f4587 | |
| parent | 733b241e48a8f87dd3d552e8ec890d43e9a3dd73 (diff) | |
| download | emacs-4f683b1b9cf6fd03b08b8eadf42f97f116762fce.tar.gz emacs-4f683b1b9cf6fd03b08b8eadf42f97f116762fce.zip | |
(Magic File Names): Document the safe-magic property.
| -rw-r--r-- | lispref/files.texi | 10 |
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 | |||
| 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. |