branch: elpa/telephone-line
commit 8b3c9499bf21f58850a2da2c33a0de6549454710
Author: Daniel Bordak <[email protected]>
Commit: Daniel Bordak <[email protected]>
Oops
---
telephone-line.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/telephone-line.el b/telephone-line.el
index 089d750f8b..6c901c4427 100644
--- a/telephone-line.el
+++ b/telephone-line.el
@@ -128,10 +128,10 @@ Secondary separators do not incur a background color
change."
(setq telephone-line-selected-window (frame-selected-window))))
(add-hook 'window-configuration-change-hook
#'telephone-line--set-selected-window)
-(defadvice telephone-line-select-window (after select-window activate)
+(defadvice select-window (after telephone-line-select-window activate)
"Set telephone-line's selected window value for use in determining the
active mode-line."
(telephone-line--set-selected-window))
-(defadvice telephone-line-select-frame (after select-frame activate)
+(defadvice select-frame (after telephone-line-select-frame activate)
"Set telephone-line's selected window value for use in determining the
active mode-line."
(telephone-line--set-selected-window))