mirror of
https://github.com/joaotavora/yasnippet.git
synced 2026-02-04 14:32:26 +00:00
a more proper popup position under Linux
This commit is contained in:
@@ -574,7 +574,7 @@ If POINT is not given, default is to current point."
|
|||||||
(x-y (posn-x-y pn))
|
(x-y (posn-x-y pn))
|
||||||
(x (car x-y))
|
(x (car x-y))
|
||||||
(y (cdr x-y))
|
(y (cdr x-y))
|
||||||
(coord (list (list (+ x 80) (+ y 20)) (selected-window))))
|
(coord (list (list (+ x 10) (+ y 20)) (selected-window))))
|
||||||
coord))
|
coord))
|
||||||
|
|
||||||
(defun yas/popup-for-template (templates)
|
(defun yas/popup-for-template (templates)
|
||||||
|
|||||||
Reference in New Issue
Block a user