aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1997-08-07 02:43:11 +0000
committerRichard M. Stallman1997-08-07 02:43:11 +0000
commit3e06294d6d1e57da43df839a9d42d4db89e5b357 (patch)
treeed0583ad23623d743951c0004421268fd980ed41
parentc179a6d16335d06102f16f4f708bd392e4e0e62d (diff)
downloademacs-3e06294d6d1e57da43df839a9d42d4db89e5b357.tar.gz
emacs-3e06294d6d1e57da43df839a9d42d4db89e5b357.zip
(insert-file-contents-literally): Doc fix.
-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."
801 found)))) 801 found))))
802 802
803(defun insert-file-contents-literally (filename &optional visit beg end replace) 803(defun insert-file-contents-literally (filename &optional visit beg end replace)
804 "Like `insert-file-contents', q.v., but only reads in the file. 804 "Like `insert-file-contents', but only reads in the file literally.
805A buffer may be modified in several ways after reading into the buffer due 805A buffer may be modified in several ways after reading into the buffer,
806to advanced Emacs features, such as file-name-handlers, format decoding, 806to Emacs features such as format decoding, character code
807find-file-hooks, etc. 807conversion, find-file-hooks, automatic uncompression, etc.
808 This function ensures that none of these modifications will take place. 808
809 809This function ensures that none of these modifications will take place."
810This function does not work for remote files, because it turns off
811file name handlers and remote file access uses a file name handler."
812 (let ((format-alist nil) 810 (let ((format-alist nil)
813 (after-insert-file-functions nil) 811 (after-insert-file-functions nil)
814 (coding-system-for-read 'no-conversion) 812 (coding-system-for-read 'no-conversion)