|
| From: | Štěpán Němec |
| Subject: | bug#7381: 24.0.50; Provide a hook run when a window is selected |
| Date: | Fri, 12 Nov 2010 12:26:08 +0100 |
| User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Lennart Borgman <address@hidden> writes: > 2010/11/12 Štěpán Němec <address@hidden>: >> Severity: wishlist >> >> The subject line says it all: could we get a `window-selected-hook' or >> `window-selected-functions' or something? >> >> Use case: I wanted to make myself a command to select the last selected >> window (i.e., repeating the command would toggle between two windows). > > > Can't you use post-command-hook? That sounds like an even less appropriate way to handle this than the advice.
| [Prev in Thread] | Current Thread | [Next in Thread] |