emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/corfu-terminal 130fb75689 4/4: Merge pull request 'corfu--


From: ELPA Syncer
Subject: [nongnu] elpa/corfu-terminal 130fb75689 4/4: Merge pull request 'corfu--popup-show's pos argument is posn now' (#23) from scturtle/emacs-corfu-terminal:master into master
Date: Tue, 27 Jun 2023 16:00:27 -0400 (EDT)

branch: elpa/corfu-terminal
commit 130fb7568933672cb0d330d88c683425f266a1d9
Merge: 328942981e 83bcc0a661
Author: Akib Azmain Turja <akib@disroot.org>
Commit: Akib Azmain Turja <akib@disroot.org>

    Merge pull request 'corfu--popup-show's pos argument is posn now' (#23) 
from scturtle/emacs-corfu-terminal:master into master
    
    Reviewed-on: https://codeberg.org/akib/emacs-corfu-terminal/pulls/23
---
 corfu-terminal.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/corfu-terminal.el b/corfu-terminal.el
index 58c7cf174a..4a14b5cf8f 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))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]