aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lispref/files.texi5
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
1869Handlers for @code{insert-file-contents} typically need to clear the
1870buffer'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
1872unlocking the buffer if it is locked.
1873
1869The handler function must handle all of the above operations, and 1874The handler function must handle all of the above operations, and
1870possibly others to be added in the future. It need not implement all 1875possibly others to be added in the future. It need not implement all
1871these operations itself---when it has nothing special to do for a 1876these operations itself---when it has nothing special to do for a