emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/fileio.c


From: Richard M. Stallman
Subject: [Emacs-diffs] Changes to emacs/src/fileio.c
Date: Wed, 12 Dec 2001 17:53:17 -0500

Index: emacs/src/fileio.c
diff -c emacs/src/fileio.c:1.433 emacs/src/fileio.c:1.434
*** emacs/src/fileio.c:1.433    Tue Dec 11 17:19:44 2001
--- emacs/src/fileio.c  Wed Dec 12 17:53:16 2001
***************
*** 4648,4655 ****
  DEFUN ("write-region", Fwrite_region, Swrite_region, 3, 7,
         "r\nFWrite region to file: \ni\ni\ni\np",
         doc: /* Write current region into specified file.
! When called from a program, takes three arguments:
! START, END and FILENAME.  START and END are buffer positions.
  Optional fourth argument APPEND if non-nil means
    append to existing file contents (if any).  If it is an integer,
    seek to that offset in the file before writing.
--- 4648,4660 ----
  DEFUN ("write-region", Fwrite_region, Swrite_region, 3, 7,
         "r\nFWrite region to file: \ni\ni\ni\np",
         doc: /* Write current region into specified file.
! When called from a program, requires three arguments:
! START, END and FILENAME.  START and END are normally buffer positions
! specifying the part of the buffer to write.
! If START is nil, that means to use the entire buffer contents.
! If START is a string, then output that string to the file
! instead of any buffer contents; END is ignored.
! 
  Optional fourth argument APPEND if non-nil means
    append to existing file contents (if any).  If it is an integer,
    seek to that offset in the file before writing.
***************
*** 4669,4676 ****
    If MUSTBENEW is neither nil nor `excl', that means ask for
    confirmation before overwriting, but do go ahead and overwrite the file
    if the user confirms.
- Kludgy feature: if START is a string, then that string is written
- to the file, instead of any buffer contents, and END is ignored.
  
  This does code conversion according to the value of
  `coding-system-for-write', `buffer-file-coding-system', or
--- 4674,4679 ----



reply via email to

[Prev in Thread] Current Thread [Next in Thread]