emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[nongnu] elpa/telephone-line 8064222a9f 038/195: Advice needs docstrings


From: ELPA Syncer
Subject: [nongnu] elpa/telephone-line 8064222a9f 038/195: Advice needs docstrings too
Date: Wed, 5 Jan 2022 02:59:20 -0500 (EST)

branch: elpa/telephone-line
commit 8064222a9f9f037fa944002615fdb170acd7e309
Author: Daniel Bordak <dbordak@fastmail.fm>
Commit: Daniel Bordak <dbordak@fastmail.fm>

    Advice needs docstrings too
---
 telephone-line.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/telephone-line.el b/telephone-line.el
index 425a408e94..a061b92494 100644
--- a/telephone-line.el
+++ b/telephone-line.el
@@ -129,7 +129,9 @@ Secondary separators do not incur a background color 
change."
     (setq selected-window (frame-selected-window))))
 
 (add-hook 'window-configuration-change-hook #'-set-selected-window)
-(defadvice select-window (after select-window activate) (-set-selected-window))
+(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))
 
 (defun selected-window-active ()
   "Return whether the current window is active."



reply via email to

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