diff options
| author | Richard M. Stallman | 1997-08-07 02:43:11 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1997-08-07 02:43:11 +0000 |
| commit | 3e06294d6d1e57da43df839a9d42d4db89e5b357 (patch) | |
| tree | ed0583ad23623d743951c0004421268fd980ed41 | |
| parent | c179a6d16335d06102f16f4f708bd392e4e0e62d (diff) | |
| download | emacs-3e06294d6d1e57da43df839a9d42d4db89e5b357.tar.gz emacs-3e06294d6d1e57da43df839a9d42d4db89e5b357.zip | |
(insert-file-contents-literally): Doc fix.
| -rw-r--r-- | lisp/files.el | 14 |
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. |
| 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) |