branch: externals/posframe
commit 1dfac3639ae6549c3a88a3ab869f13102ffa6443
Author: Feng Shu <tuma...@163.com>
Commit: Feng Shu <tuma...@163.com>

    * posframe.el (posframe-poshandler-p0.5p0-to-w0.5p1): Use 
posframe-poshandler-p0p0-to-p0p1 to get y.
---
 posframe.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/posframe.el b/posframe.el
index d5002ae..c2d84e2 100644
--- a/posframe.el
+++ b/posframe.el
@@ -1145,7 +1145,7 @@ Get a posframe position, which let posframe(0.5, 0) align 
to a
 position, which x = x of window(0.5, 0) and y = y of point(0, 1). The
 structure of INFO can be found in docstring of `posframe-show'. "
   (let ((x (car (posframe-poshandler-p0.5p0-to-w0.5w0 info)))
-        (y (cdr (posframe-poshandler-point-1 info))))
+        (y (cdr (posframe-poshandler-p0p0-to-p0p1 info))))
     (cons x y)))
 
 (defalias 'posframe-poshandler-point-bottom-left-corner-upward 
#'posframe-poshandler-p0p1-to-p0p1)

Reply via email to