]> git.eshelyaron.com Git - emacs.git/commitdiff
*** empty log message ***
authorRichard M. Stallman <rms@gnu.org>
Sat, 2 Jul 1994 04:09:37 +0000 (04:09 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 2 Jul 1994 04:09:37 +0000 (04:09 +0000)
lispref/files.texi

index 48b63f0e9188ebba9b7c47b2d6bad11e5697ceb9..199f5949553be68cf203ac3bf05e9824e61fff28 100644 (file)
@@ -1866,6 +1866,11 @@ Here are the operations that a magic file name handler gets to handle:
 @code{set-visited-file-modtime}, @code{unhandled-file-name-directory},
 @code{verify-visited-file-modtime}, @code{write-region}.
 
+Handlers for @code{insert-file-contents} typically need to clear the
+buffer's modified flag, with @code{(set-buffer-modified-p nil)}, if the
+@var{visit} argument is non-@code{nil}.  This also has the effect of
+unlocking the buffer if it is locked.
+
 The handler function must handle all of the above operations, and
 possibly others to be added in the future.  It need not implement all
 these operations itself---when it has nothing special to do for a