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

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

Re: automatically save a specific buffer on exit


From: Kevin Rodgers
Subject: Re: automatically save a specific buffer on exit
Date: Thu, 05 Feb 2009 19:42:26 -0700
User-agent: Thunderbird 2.0.0.19 (Macintosh/20081209)

Lennart Borgman wrote:
On Wed, Feb 4, 2009 at 9:26 PM, Andreas Politz <address@hidden> wrote:
Hi,

I have a persistent scratch buffer with a file attached
and I would like emacs to have it saved whenever I
leave the editor.
'kill-emacs-hook' runs to late and `write-file-functions'
doesn't seem to be aproppriate either.

kill-buffer-query-function?

The variable name is plural: kill-buffer-query-functions

But wouldn't kill-emacs-query-functions be better suited for this?

--
Kevin Rodgers
Denver, Colorado, USA





reply via email to

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