help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: elisp: how to stop messaging in echo area for save-buffer


From: A.Politz
Subject: Re: elisp: how to stop messaging in echo area for save-buffer
Date: Sat, 8 Aug 2009 09:54:00 -0700 (PDT)
User-agent: G2/1.0

On Aug 8, 5:15 pm, Xah Lee <xah...@gmail.com> wrote:
> i have a elisp script that does a few hundred saving files. Each time
>
>     (save-buffer)
>
> is called, the *Message* buffer contains 2 lines like this:
>
> Saving file c:/Users/xah/web/xxst/make_download_copy/
> make_download_copy.el...
> Wrote c:/Users/xah/web/xxst/make_download_copy/make_download_copy.el
>
> How to disable printing this message?
>
> i vaguely recall i've seen in elisp doc on how, but can't find it atm.
>
> thanks.
>
>   Xah
>http://xahlee.org/
>
>

(let (message-log-max)
  (save-buffer))

-ap


reply via email to

[Prev in Thread] Current Thread [Next in Thread]