diff options
| -rw-r--r-- | lispref/files.texi | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lispref/files.texi b/lispref/files.texi index 48b63f0e918..199f5949553 100644 --- a/lispref/files.texi +++ b/lispref/files.texi | |||
| @@ -1866,6 +1866,11 @@ Here are the operations that a magic file name handler gets to handle: | |||
| 1866 | @code{set-visited-file-modtime}, @code{unhandled-file-name-directory}, | 1866 | @code{set-visited-file-modtime}, @code{unhandled-file-name-directory}, |
| 1867 | @code{verify-visited-file-modtime}, @code{write-region}. | 1867 | @code{verify-visited-file-modtime}, @code{write-region}. |
| 1868 | 1868 | ||
| 1869 | Handlers for @code{insert-file-contents} typically need to clear the | ||
| 1870 | buffer's modified flag, with @code{(set-buffer-modified-p nil)}, if the | ||
| 1871 | @var{visit} argument is non-@code{nil}. This also has the effect of | ||
| 1872 | unlocking the buffer if it is locked. | ||
| 1873 | |||
| 1869 | The handler function must handle all of the above operations, and | 1874 | The handler function must handle all of the above operations, and |
| 1870 | possibly others to be added in the future. It need not implement all | 1875 | possibly others to be added in the future. It need not implement all |
| 1871 | these operations itself---when it has nothing special to do for a | 1876 | these operations itself---when it has nothing special to do for a |