emacs-devel
[Top][All Lists]
Advanced

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

[PATCH] frame.c: focus hooks


From: Brian Jenkins
Subject: [PATCH] frame.c: focus hooks
Date: Sun, 17 Nov 2013 12:50:26 -0500

Hello.

I'd like to contribute the attached patch, which adds hooks into gain and
loss of focus events.

This allows saving all buffers on loss of focus.  (Alt-tabbing between
an editor and browser is a popular workflow for web programmers.)

It also allows reversion of buffers on regain of focus, convenient if
one is switching between Emacs and another editor.

People will probably find other handy uses for these hooks.

Best,
Brian Jenkins

Attachment: focus-hooks.patch
Description: Binary data


reply via email to

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