branch: elpa/corfu-terminal commit 83bcc0a661a4bac2573c1edd119605fe0b04e150 Author: scturtle <sctur...@noreply.codeberg.org> Commit: scturtle <sctur...@gmail.com>
compitable with corfu--popup-show's pos type change https://github.com/minad/corfu/commit/1fd386573472f20be53e9da91794b2ca9cf06279 --- corfu-terminal.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/corfu-terminal.el b/corfu-terminal.el index 3ee19d2556..08e1d3ba4f 100644 --- a/corfu-terminal.el +++ b/corfu-terminal.el @@ -172,7 +172,7 @@ definition in Corfu." (list pos popon-width (window-start) (buffer-modified-tick))) (car corfu-terminal--last-position) - (let ((pos (popon-x-y-at-pos pos))) + (let ((pos (popon-x-y-at-pos (if (posnp pos) (posn-point pos) pos)))) (cons (max (min (- (car pos) (+ off margin-left-width))