aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-08-31 01:50:12 +0200
committerJohn Ankarström <john@ankarstrom.se>2022-08-31 01:50:12 +0200
commit66226ebb28ec14a8c94e04f4dfd3f4ac23bc014d (patch)
treee38537c9a945e9fa0dad0ff40a3012e328182f0f
parent41b565c2d39411e25b46ec8f8eb09205eb830a0c (diff)
downloadEpisodeBrowser-66226ebb28ec14a8c94e04f4dfd3f4ac23bc014d.tar.gz
eb.el: Ignore minibuffer window selection.
-rw-r--r--eb.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/eb.el b/eb.el
index 20699b7..e3075dd 100644
--- a/eb.el
+++ b/eb.el
@@ -99,7 +99,9 @@
(fleeting-window eb--fleeting--window)
(buffer (window-buffer))
(window (selected-window)))
- (when (and fleeting-buffer fleeting-window)
+ (when (and fleeting-buffer
+ fleeting-window
+ (not (equal window (minibuffer-window))))
(if (and (equal fleeting-window window)
(equal fleeting-buffer buffer))
(with-current-buffer fleeting-buffer