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

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

[nongnu] elpa/helm 75c85ae152 2/2: Do not check no-other-window (#2575)


From: ELPA Syncer
Subject: [nongnu] elpa/helm 75c85ae152 2/2: Do not check no-other-window (#2575)
Date: Sat, 3 Dec 2022 08:58:55 -0500 (EST)

branch: elpa/helm
commit 75c85ae15286c108d1f32f7ff92f6eaa89a553ef
Author: Thierry Volpiatto <thievol@posteo.net>
Commit: Thierry Volpiatto <thievol@posteo.net>

    Do not check no-other-window (#2575)
    
    no-other-window is already set during the helm session on all windows
    beside helm-window to prevent escaping from minibuffer.
    So checking only for side or dedicated windows should be enough.
---
 helm-core.el | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/helm-core.el b/helm-core.el
index 30d73f0b8f..0f01dd853d 100644
--- a/helm-core.el
+++ b/helm-core.el
@@ -7089,9 +7089,8 @@ splitting inconditionally, it is unused actually."
              ;; Is next-window (from helm-window) a suitable window for PA?
              (no-suitable-win
               (helm-aand (not helm--buffer-in-new-frame-p)
-                         (next-window (helm-window) 1 helm-initial-frame)
+                         (get-buffer-window helm-current-buffer)
                          (or (window-dedicated-p it)
-                             (window-parameter it 'no-other-window)
                              (window-parameter it 'window-side))))
              (cursor-in-echo-area t)
              mode-line-in-non-selected-windows)
@@ -7149,7 +7148,6 @@ The symbol `never' is kept for backward compatibility."
                  (with-selected-frame helm-initial-frame
                    (let ((win (selected-window)))
                      (if (or (window-dedicated-p win)
-                             (window-parameter win 'no-other-window)
                              (window-parameter win 'window-side))
                          (next-window win 1)
                        win))))



reply via email to

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