[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Remove minibuffer message after appending to file
From: |
Sebastien |
Subject: |
Re: Remove minibuffer message after appending to file |
Date: |
Tue, 6 Oct 2009 13:23:18 -0700 (PDT) |
User-agent: |
G2/1.0 |
On Oct 6, 2:12 pm, p...@informatimago.com (Pascal J. Bourguignon)
wrote:
> Sebastien <us021...@yahoo.com> writes:
> > 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) ?
>
> Yes, call (message "")
>
> (progn
> (or (append-to-file min max filename)
> (write-region min max filename t))
> (message ""))
>
> --
> __Pascal Bourguignon__
With (message "") , the "Added to ..." text is overwritten and
therefore not visible.
It would be great if the text is not written at all (with emacs -Q
startup, the text still appears)...