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

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

Re: updated log-message


From: Cecil Westerhof
Subject: Re: updated log-message
Date: Tue, 04 May 2010 15:44:13 -0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

José A. Romero L. <escherdragon@gmail.com> writes:

>> My only problem is with write-region. This gives a message to the
>> mini-buffer. If someone knows a way to circumvent this ...
> (...)
>
> Do you mean the "Wrote file" message?
>
> According to the description of write-region:
>
>     (write-region START END FILENAME &optional APPEND VISIT LOCKNAME
> MUSTBENEW)
>     (...)
>     If VISIT is neither t nor nil nor a string,
>       that means do not display the "Wrote file" message.
>     (...)

I overlooked that. I changed the write-region to:
    (write-region message nil file-name t 0)

Now it works like I want.

Thanks.

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof


reply via email to

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