unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* is there a hook for when a buffer loses/gains the cursor or the frame loses/gains focus?
@ 2008-05-13 13:53 Ted Zlatanov
  2008-05-13 14:26 ` Stefan Monnier
  0 siblings, 1 reply; 2+ messages in thread
From: Ted Zlatanov @ 2008-05-13 13:53 UTC (permalink / raw)
  To: emacs-devel

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





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-05-13 14:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-13 13:53 is there a hook for when a buffer loses/gains the cursor or the frame loses/gains focus? Ted Zlatanov
2008-05-13 14:26 ` Stefan Monnier

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).