comparison lisp/prim/files-nomule.el @ 142:1856695b1fa9 r20-2b5

Import from CVS: tag r20-2b5
author cvs
date Mon, 13 Aug 2007 09:33:18 +0200
parents fe104dbd9147
children
comparison
equal deleted inserted replaced
141:ea67ad3963dc 142:1856695b1fa9
46 and (2) it puts less data in the undo list." 46 and (2) it puts less data in the undo list."
47 (insert-file-contents-internal filename visit beg end replace nil nil)) 47 (insert-file-contents-internal filename visit beg end replace nil nil))
48 48
49 (defun write-region (start end filename &optional append visit lockname coding-system) 49 (defun write-region (start end filename &optional append visit lockname coding-system)
50 "Write current region into specified file. 50 "Write current region into specified file.
51 By default, the file's existing contents are replaced by the specified region.
51 When called from a program, takes three arguments: 52 When called from a program, takes three arguments:
52 START, END and FILENAME. START and END are buffer positions. 53 START, END and FILENAME. START and END are buffer positions.
53 Optional fourth argument APPEND if non-nil means 54 Optional fourth argument APPEND if non-nil means
54 append to existing file contents (if any). 55 append to existing file contents (if any).
55 Optional fifth argument VISIT if t means 56 Optional fifth argument VISIT if t means