|
From: | Christopher Schmidt |
Subject: | bug#18233: 24.3.92; Use of (frame-selected-window) in mode-line-format |
Date: | Sat, 9 Aug 2014 18:22:06 -0400 (EDT) |
Stefan Monnier <address@hidden> writes: > So we won't go back to the old behavior. Instead we should provide > a new feature for that. IIRC you can currently do it by hand with > something like: > > (add-function :before pre-redisplay-function > (lambda (_) (setq my-selected-window (selected-window)))) > > and then compare (deleted-window) to my-selected-window in your > mode-line-format. Works great. Thanks a lot!
[Prev in Thread] | Current Thread | [Next in Thread] |