all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* write-region message
@ 2003-08-07 15:31 David PONCE
  0 siblings, 0 replies; only message in thread
From: David PONCE @ 2003-08-07 15:31 UTC (permalink / raw)


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"

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-08-07 15:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-07 15:31 write-region message David PONCE

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.