unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Remove minibuffer message after appending to file
@ 2009-10-06  6:34 Sebastien
  2009-10-06 12:12 ` Pascal J. Bourguignon
  2009-10-06 23:37 ` Glenn Morris
  0 siblings, 2 replies; 6+ messages in thread
From: Sebastien @ 2009-10-06  6:34 UTC (permalink / raw)
  To: help-gnu-emacs

Is it possible to remove the text

"Added to <filename>"

which appears in the minibuffer after appending text to a file via

(append-to-file min max filename)
or
(write-region min max filename t)  ?


The souce code generating the message is in "fileio.c"  in the
function Fwrite_region .

  if (!auto_saving)
    message_with_string ((INTEGERP (append)
			  ? "Updated %s"
			  : ! NILP (append)
			  ? "Added to %s"
			  : "Wrote %s"),
			 visit_file, 1);

It would be nice to have a technique to bypass the message_with_string
function.

Regards,
Sebastien


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-10-07 19:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-06  6:34 Remove minibuffer message after appending to file Sebastien
2009-10-06 12:12 ` Pascal J. Bourguignon
2009-10-06 20:23   ` Sebastien
2009-10-06 21:12     ` Pascal J. Bourguignon
2009-10-06 23:37 ` Glenn Morris
2009-10-07 19:28   ` Sebastien

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).