Moved adding of helm-hide-minibuffer-maybe hook

From a racy when condition in the posframe autoload, into an
unconditional hook in the helm config.el file.
This commit is contained in:
Jonas Møller 2020-01-23 12:58:39 +01:00
parent f6dc8d0202
commit 93ebe4a4bb
2 changed files with 3 additions and 3 deletions

View file

@ -10,9 +10,6 @@ bottom, which is easier on the eyes on big displays."
(truncate (/ (frame-pixel-height parent-frame)
2)))))
(when helm-echo-input-in-header-line
(add-hook 'helm-minibuffer-set-up-hook #'helm-hide-minibuffer-maybe))
(defvar +helm--posframe-buffer nil)
;;;###autoload
(defun +helm-posframe-display-fn (buffer &optional _resume)