From: Richard M. Stallman Date: Sat, 2 Jul 1994 04:09:37 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: emacs-19.34~7735 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6ca8823106d9d597914a67ae0216f09a0b7b033c;p=emacs.git *** empty log message *** --- 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: @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