summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2021-02-11 16:47:16 +0000
committerjao <jao@gnu.org>2021-02-11 16:47:16 +0000
commitee613d6c7f57f69318c56bed1ffba7d636eca228 (patch)
tree1fe1e2ba1adcd8604d9e539613145bf87e9583e4
parent589defeb2d9f98a54a27017e41a238741d223083 (diff)
downloadelibs-ee613d6c7f57f69318c56bed1ffba7d636eca228.tar.gz
elibs-ee613d6c7f57f69318c56bed1ffba7d636eca228.tar.bz2
embark prompt: clumsily stay in minibuffer
-rw-r--r--consult.org4
1 files changed, 3 insertions, 1 deletions
diff --git a/consult.org b/consult.org
index bf25e19..1ca5744 100644
--- a/consult.org
+++ b/consult.org
@@ -211,7 +211,9 @@
(let ((display-buffer-alist
(append display-buffer-alist jao-embark--default-display)))
(pop-to-buffer (current-buffer) nil t))
- (lambda () (embark-kill-buffer-and-window jao-embark--actions-buffer))))
+ (lambda ()
+ (embark-kill-buffer-and-window jao-embark--actions-buffer)
+ (when selectrum-active-p (select-window (minibuffer-window))))))
(setq embark-action-indicator #'jao-embark--show-keymap
embark-become-indicator embark-action-indicator)