all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David PONCE <david.ponce@wanadoo.fr>
Subject: write-region message
Date: Thu,  7 Aug 2003 17:31:56 +0200 (CEST)	[thread overview]
Message-ID: <4268202.1060270316183.JavaMail.www@wwinf0401> (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"

                 reply	other threads:[~2003-08-07 15:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4268202.1060270316183.JavaMail.www@wwinf0401 \
    --to=david.ponce@wanadoo.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.