From 95578c22d02748331c9c95d459b38a33274b6c9e Mon Sep 17 00:00:00 2001 From: Zhang Chiyuan Date: Thu, 6 Mar 2008 16:20:15 +0000 Subject: [PATCH] a more proper popup position under Linux --- yasnippet.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yasnippet.el b/yasnippet.el index 003daa1..72bd383 100644 --- a/yasnippet.el +++ b/yasnippet.el @@ -574,7 +574,7 @@ If POINT is not given, default is to current point." (x-y (posn-x-y pn)) (x (car 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)) (defun yas/popup-for-template (templates)