Display header line in Helm posframe
But only if helm-echo-input-in-header-line is set to true.
This commit is contained in:
parent
73ad5ddc83
commit
dc8ad7896a
1 changed files with 4 additions and 0 deletions
|
@ -10,6 +10,9 @@ 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)
|
||||
|
@ -23,6 +26,7 @@ bottom, which is easier on the eyes on big displays."
|
|||
(setq +helm--posframe-buffer buffer)
|
||||
:position (point)
|
||||
:poshandler +helm-posframe-handler
|
||||
:respect-header-line helm-echo-input-in-header-line
|
||||
:width
|
||||
(max (cl-typecase .width
|
||||
(integer .width)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue