From: Richard M. Stallman Date: Thu, 7 Aug 1997 02:43:11 +0000 (+0000) Subject: (insert-file-contents-literally): Doc fix. X-Git-Tag: emacs-20.1~748 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3e06294d6d1e57da43df839a9d42d4db89e5b357;p=emacs.git (insert-file-contents-literally): Doc fix. --- diff --git a/lisp/files.el b/lisp/files.el index 603195beb7c..5fcaef03406 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -801,14 +801,12 @@ If there is no such live buffer, return nil." found)))) (defun insert-file-contents-literally (filename &optional visit beg end replace) - "Like `insert-file-contents', q.v., but only reads in the file. -A buffer may be modified in several ways after reading into the buffer due -to advanced Emacs features, such as file-name-handlers, format decoding, -find-file-hooks, etc. - This function ensures that none of these modifications will take place. - -This function does not work for remote files, because it turns off -file name handlers and remote file access uses a file name handler." + "Like `insert-file-contents', but only reads in the file literally. +A buffer may be modified in several ways after reading into the buffer, +to Emacs features such as format decoding, character code +conversion, find-file-hooks, automatic uncompression, etc. + +This function ensures that none of these modifications will take place." (let ((format-alist nil) (after-insert-file-functions nil) (coding-system-for-read 'no-conversion)