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

@ -114,6 +114,9 @@ be negative.")
(advice-add #'helm-display-mode-line :override #'+helm--hide-mode-line)
(advice-add #'helm-ag-show-status-default-mode-line :override #'ignore)
;; Hide minibuffer if `helm-echo-input-in-header-line'
(add-hook 'helm-minibuffer-set-up-hook #'helm-hide-minibuffer-maybe)
;; Use helpful instead of describe-* to display documentation
(dolist (fn '(helm-describe-variable helm-describe-function))
(advice-add fn :around #'doom-use-helpful-a)))