emacs-devel
[Top][All Lists]
Advanced

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

write-region message


From: David PONCE
Subject: write-region message
Date: Thu, 7 Aug 2003 17:31:56 +0200 (CEST)

Hi All,

I submit you a small patch to fileio.c to fix the message issued by
`write-region'.

I think it should say "Updated" when the APPEND argument is an
integer, "Wrote" when it is nil, and "Added" otherwise.

What do you think?

David

Index: src/fileio.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/fileio.c,v
retrieving revision 1.492
diff -c -r1.492 fileio.c
*** src/fileio.c        22 Jul 2003 19:07:20 -0000      1.492
--- src/fileio.c        7 Aug 2003 15:17:53 -0000
***************
*** 5223,5229 ****
      return Qnil;
  
    if (!auto_saving)
!     message_with_string ((! INTEGERP (append)
                          ? "Updated %s"
                          : ! NILP (append)
                          ? "Added to %s"
--- 5223,5229 ----
      return Qnil;
  
    if (!auto_saving)
!     message_with_string (( INTEGERP (append)
                          ? "Updated %s"
                          : ! NILP (append)
                          ? "Added to %s"





reply via email to

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