completion/helm: fix +childframe
This commit is contained in:
parent
91f8d3e5d0
commit
28b3ad4529
2 changed files with 3 additions and 3 deletions
|
@ -24,14 +24,14 @@ bottom, which is easier on the eyes on big displays."
|
||||||
:position (point)
|
:position (point)
|
||||||
:poshandler +helm-posframe-handler
|
:poshandler +helm-posframe-handler
|
||||||
:respect-header-line helm-echo-input-in-header-line
|
:respect-header-line helm-echo-input-in-header-line
|
||||||
:width
|
:min-width
|
||||||
(max (cl-typecase .width
|
(max (cl-typecase .width
|
||||||
(integer .width)
|
(integer .width)
|
||||||
(float (truncate (* (frame-width) .width)))
|
(float (truncate (* (frame-width) .width)))
|
||||||
(function (funcall .width))
|
(function (funcall .width))
|
||||||
(t 0))
|
(t 0))
|
||||||
.min-width)
|
.min-width)
|
||||||
:height
|
:min-height
|
||||||
(max (cl-typecase .height
|
(max (cl-typecase .height
|
||||||
(integer .height)
|
(integer .height)
|
||||||
(float (truncate (* (frame-height) .height)))
|
(float (truncate (* (frame-height) .height)))
|
||||||
|
|
|
@ -12,7 +12,7 @@ be negative.")
|
||||||
|
|
||||||
(defvar +helm-posframe-parameters
|
(defvar +helm-posframe-parameters
|
||||||
'((internal-border-width . 8)
|
'((internal-border-width . 8)
|
||||||
(width . 0.5)
|
(width . 0.65)
|
||||||
(height . 0.35)
|
(height . 0.35)
|
||||||
(min-width . 80)
|
(min-width . 80)
|
||||||
(min-height . 16))
|
(min-height . 16))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue