[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/helm 1f95f44322 1/2: Unhide minibuffer when showing action
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/helm 1f95f44322 1/2: Unhide minibuffer when showing action menu |
Date: |
Wed, 17 Jan 2024 13:00:37 -0500 (EST) |
branch: elpa/helm
commit 1f95f443229681309b680d1093b594f83b8f6cf5
Author: Thierry Volpiatto <thievol@posteo.net>
Commit: Thierry Volpiatto <thievol@posteo.net>
Unhide minibuffer when showing action menu
---
helm-core.el | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/helm-core.el b/helm-core.el
index 8d1fe5d0c6..9ae3b553b1 100644
--- a/helm-core.el
+++ b/helm-core.el
@@ -5594,7 +5594,11 @@ If action buffer is selected, back to the Helm buffer."
(window-resize (get-buffer-window helm-buffer)
delta))
(kill-buffer helm-action-buffer)
(setq helm-saved-selection nil)
- (helm-set-pattern helm-input 'noupdate)))
+ (helm-set-pattern helm-input 'noupdate)
+ ;; Maybe hide minibuffer if helm was showing
+ ;; minibuffer in header-line and we are just
toggling
+ ;; menu [1].
+ (helm-hide-minibuffer-maybe)))
(helm-saved-selection
(setq helm-saved-current-source src)
(let ((actions (helm-get-actions-from-current-source
src))
@@ -5608,6 +5612,9 @@ If action buffer is selected, back to the Helm buffer."
(helm-show-action-buffer actions)
;; Be sure the minibuffer is entirely deleted
(bug#907).
(helm--delete-minibuffer-contents-from "")
+ ;; Unhide minibuffer to make visible action
prompt [1].
+ (with-selected-window (minibuffer-window)
+ (remove-overlays) (setq cursor-type t))
(helm--set-action-prompt)
(helm-check-minibuffer-input))))
(t (message "No Actions available")))