comparison lisp/code-files.el @ 422:95016f13131a r21-2-19

Import from CVS: tag r21-2-19
author cvs
date Mon, 13 Aug 2007 11:25:01 +0200
parents ebe98a74bd68
children
comparison
equal deleted inserted replaced
421:fff06e11db74 422:95016f13131a
371 If optional fifth argument REPLACE is non-nil, 371 If optional fifth argument REPLACE is non-nil,
372 it means replace the current buffer contents (in the accessible portion) 372 it means replace the current buffer contents (in the accessible portion)
373 with the file contents. This is better than simply deleting and inserting 373 with the file contents. This is better than simply deleting and inserting
374 the whole thing because (1) it preserves some marker positions 374 the whole thing because (1) it preserves some marker positions
375 and (2) it puts less data in the undo list. 375 and (2) it puts less data in the undo list.
376
377 NOTE: When Mule support is enabled, the REPLACE argument is
378 currently ignored.
379 376
380 The coding system used for decoding the file is determined as follows: 377 The coding system used for decoding the file is determined as follows:
381 378
382 1. `coding-system-for-read', if non-nil. 379 1. `coding-system-for-read', if non-nil.
383 2. The result of `insert-file-contents-pre-hook', if non-nil. 380 2. The result of `insert-file-contents-pre-hook', if non-nil.