summaryrefslogtreecommitdiff
path: root/lisp/files.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1997-08-07 02:43:11 +0000
committerRichard M. Stallman <rms@gnu.org>1997-08-07 02:43:11 +0000
commit1193d0613d64bd663bb02777f98bbc9aac4f4b27 (patch)
tree364e88511f2731b46f541c8e0093f878f6269411 /lisp/files.el
parent37ec6811edb0d70796e1ce67583bbbec53f6657b (diff)
downloademacs-1193d0613d64bd663bb02777f98bbc9aac4f4b27.tar.gz
(insert-file-contents-literally): Doc fix.
Diffstat (limited to 'lisp/files.el')
-rw-r--r--lisp/files.el14
1 files changed, 6 insertions, 8 deletions
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)