emacs-devel
[Top][All Lists]
Advanced

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

is there a hook for when a buffer loses/gains the cursor or the frame lo


From: Ted Zlatanov
Subject: is there a hook for when a buffer loses/gains the cursor or the frame loses/gains focus?
Date: Tue, 13 May 2008 08:53:42 -0500
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.60 (gnu/linux)

This post:

http://www.postal-code.com/binarycode/2008/05/12/save-should-die/

go me thinking that it would be nice to save every time the buffer loses
the cursor.  Is there a way in Emacs to do that?  Similarly, I'd like to
save every time the frame loses focus.  I didn't find any hooks or
functions for this.

Thanks
Ted





reply via email to

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