[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: disable messaging in echo area
From: |
Helmut Eller |
Subject: |
Re: disable messaging in echo area |
Date: |
Wed, 08 Dec 2010 17:35:06 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
* Daniel Carvalho [2010-12-08 15:35] writes:
> hi
> I have a function that runs in background every 10 seconds (with
> run-at-time). That function saves a file, and this causes a message to
> be displayed in the echo-area. I want to disable this message...
>
>
> there was already a thread about that :
> http://lists.gnu.org/archive/html/help-gnu-emacs/2009-08/msg00374.html
>
>
> But the pointed solutions don't work
>
> (flet ((message (&rest args) nil))
> (message "test")
> (write-file file)
> )
> - the "test" message is not displayed, but the "write file" is still
> displayed!
>
>
> (let (message-log-max)
> (write-file file)
> )
> - no effect!
Perhaps you can use write-region instead. write-region has an argument
VISIT that can be used to suppress the message.
Helmut
- Re: disable messaging in echo area,
Helmut Eller <=