branch: elpa/telephone-line
commit 48f2894e9517b32d21af321cb1c2db8ae888e7bf
Author: Daniel Bordak <[email protected]>
Commit: Daniel Bordak <[email protected]>
Add initial support for multiple frames
---
telephone-line.el | 3 +++
1 file changed, 3 insertions(+)
diff --git a/telephone-line.el b/telephone-line.el
index d95c01ed11..236c01d064 100644
--- a/telephone-line.el
+++ b/telephone-line.el
@@ -132,6 +132,9 @@ Secondary separators do not incur a background color
change."
(defadvice select-window (after select-window activate)
"Set telephone-line's selected window value for use in determining the
active mode-line."
(-set-selected-window))
+(defadvice select-frame (after select-frame activate)
+ "Set telephone-line's selected window value for use in determining the
active mode-line."
+ (-set-selected-window))
(defun selected-window-active ()
"Return whether the current window is active."