[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to automatically write *Messages" buffer to a file?
From: |
Kevin Rodgers |
Subject: |
Re: How to automatically write *Messages" buffer to a file? |
Date: |
Wed, 01 Dec 2004 12:08:42 -0700 |
User-agent: |
Mozilla Thunderbird 0.9 (X11/20041105) |
Brad Collins wrote:
> Is there is a simple way of getting Emacs to automatically append
> messages in the message buffer to a file so messages work as a log file?
This should get you most of the way there (when you exit emacs, it
should ask you whether you want to save that log file):
(with-current-buffer "*Messages*"
(set buffer-file-name "~/*Messages*")) ; or set-visited-file-name
--
Kevin Rodgers
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: How to automatically write *Messages" buffer to a file?,
Kevin Rodgers <=