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

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

[nongnu] elpa/helm e846f067e1 2/2: Allow keeping minibuffer visible when


From: ELPA Syncer
Subject: [nongnu] elpa/helm e846f067e1 2/2: Allow keeping minibuffer visible when running a helm session from it
Date: Mon, 1 Aug 2022 11:58:50 -0400 (EDT)

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

    Allow keeping minibuffer visible when running a helm session from it
---
 helm-core.el | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/helm-core.el b/helm-core.el
index 9e0dfcc4f3..e535945188 100644
--- a/helm-core.el
+++ b/helm-core.el
@@ -2953,7 +2953,12 @@ HISTORY args see `helm'."
     ;; `minibuffer-follows-selected-frame' is available only in
     ;; emacs-28+ (bug#2536).
     (and ori--minibuffer-follows-selected-frame
-         (setq minibuffer-follows-selected-frame (not helm--nested)))
+         (setq minibuffer-follows-selected-frame
+               (unless (or helm--nested
+                           ;; Allow keeping initial minibuffer visible
+                           ;; e.g. completion-at-point from  M-:.
+                           (minibufferp helm-current-buffer))
+                 t)))
     (unwind-protect
         (condition-case-unless-debug _v
             (let ( ;; `helm--source-name' is non-`nil'



reply via email to

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