From c69543fecc7c398d5f6543eafc5ddc44165d5a7d Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Wed, 15 Aug 2018 23:32:53 +0200 Subject: [PATCH] Fix helm not cooperating with other popups Like the compilation window --- modules/completion/helm/config.el | 2 ++ modules/ui/popup/+hacks.el | 4 +--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/completion/helm/config.el b/modules/completion/helm/config.el index c30bbd0a9..f43a596c3 100644 --- a/modules/completion/helm/config.el +++ b/modules/completion/helm/config.el @@ -105,6 +105,8 @@ be negative.") helm-semantic-fuzzy-match fuzzy)) :config + (set-popup-rule! "^\\*helm" :vslot -100 :size 0.22) + (defun +helm*replace-prompt (plist) "Globally replace helm prompts with `+helm-global-prompt'." (cond ((not +helm-global-prompt) plist) diff --git a/modules/ui/popup/+hacks.el b/modules/ui/popup/+hacks.el index 212da8d61..c2417cd0d 100644 --- a/modules/ui/popup/+hacks.el +++ b/modules/ui/popup/+hacks.el @@ -169,9 +169,7 @@ the command buffer." ;; `helm' (after! helm - (set-popup-rule! "^\\*helm" :ignore t) - (setq helm-default-display-buffer-functions '(+popup-display-buffer-stacked-side-window) - helm-display-buffer-default-height 0.22) + (setq helm-default-display-buffer-functions '(+popup-display-buffer-stacked-side-window)) ;; Fix left-over popup window when closing persistent help for `helm-M-x' (defun +popup*helm-elisp--persistent-help (candidate _fun &optional _name)