[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: automatically save a specific buffer on exit
From: |
Lennart Borgman |
Subject: |
Re: automatically save a specific buffer on exit |
Date: |
Wed, 4 Feb 2009 22:30:09 +0100 |
On Wed, Feb 4, 2009 at 9:26 PM, Andreas Politz <politza@fh-trier.de> 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?