comparison lisp/code-files.el @ 353:3b3709405255 r21-1-6

Import from CVS: tag r21-1-6
author cvs
date Mon, 13 Aug 2007 10:55:33 +0200
parents 70ad99077275
children a4f53d9b3154
comparison
equal deleted inserted replaced
352:e7288c5461ae 353:3b3709405255
374 If optional fifth argument REPLACE is non-nil, 374 If optional fifth argument REPLACE is non-nil,
375 it means replace the current buffer contents (in the accessible portion) 375 it means replace the current buffer contents (in the accessible portion)
376 with the file contents. This is better than simply deleting and inserting 376 with the file contents. This is better than simply deleting and inserting
377 the whole thing because (1) it preserves some marker positions 377 the whole thing because (1) it preserves some marker positions
378 and (2) it puts less data in the undo list. 378 and (2) it puts less data in the undo list.
379
380 NOTE: When Mule support is enabled, the REPLACE argument is
381 currently ignored.
382 379
383 The coding system used for decoding the file is determined as follows: 380 The coding system used for decoding the file is determined as follows:
384 381
385 1. `coding-system-for-read', if non-nil. 382 1. `coding-system-for-read', if non-nil.
386 2. The result of `insert-file-contents-pre-hook', if non-nil. 383 2. The result of `insert-file-contents-pre-hook', if non-nil.