comparison lisp/files.el @ 19199:da8774e1207b

(insert-file-contents-literally): Doc fix.
author Richard M. Stallman <rms@gnu.org>
date Thu, 07 Aug 1997 02:43:11 +0000
parents 4bfebbf0f6a8
children 030c40d12288
comparison
equal deleted inserted replaced
19198:49274b3596a7 19199:da8774e1207b
799 (setq found (car list)))) 799 (setq found (car list))))
800 (setq list (cdr list)))) 800 (setq list (cdr list))))
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.
805 A buffer may be modified in several ways after reading into the buffer due 805 A buffer may be modified in several ways after reading into the buffer,
806 to advanced Emacs features, such as file-name-handlers, format decoding, 806 to Emacs features such as format decoding, character code
807 find-file-hooks, etc. 807 conversion, find-file-hooks, automatic uncompression, etc.
808 This function ensures that none of these modifications will take place. 808
809 809 This function ensures that none of these modifications will take place."
810 This function does not work for remote files, because it turns off
811 file 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)
815 (coding-system-for-write 'no-conversion) 813 (coding-system-for-write 'no-conversion)
816 (jka-compr-compression-info-list nil) 814 (jka-compr-compression-info-list nil)