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:
parent
f6dc8d0202
commit
93ebe4a4bb
2 changed files with 3 additions and 3 deletions
|
@ -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)
|
||||
|
|
|
@ -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)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue