branch: externals/posframe
commit 5542b2a065fafa48806aa1d0bfcc562a5649e122
Author: Feng Shu <[email protected]>
Commit: Feng Shu <[email protected]>
Fix wrong poshandler function name: posframe-poshandler-p0.5p0.5-to-p0p0
* posframe.el (posframe-poshandler-p0.5p0-to-w0.5p1): rename from
posframe-poshandler-p0.5p0.5-to-p0p0.
(posframe-poshandler-point-window-center): alias to
posframe-poshandler-p0.5p0-to-w0.5p1.
---
posframe.el | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/posframe.el b/posframe.el
index 9f19da2..dde3354 100644
--- a/posframe.el
+++ b/posframe.el
@@ -1129,13 +1129,13 @@ point(0, 1). The structure of INFO can be found in
docstring of
."
(posframe-poshandler-point-1 info))
-(defalias 'posframe-poshandler-point-window-center
#'posframe-poshandler-p0.5p0.5-to-p0p0)
-(defun posframe-poshandler-p0.5p0.5-to-p0p0 (info)
+(defalias 'posframe-poshandler-point-window-center
#'posframe-poshandler-p0.5p0-to-w0.5p1)
+(defun posframe-poshandler-p0.5p0-to-w0.5p1 (info)
"Posframe's position hanlder.
-Get a posframe position, which let posframe(0.5, 0.5) align to
-point(0, 0). The structure of INFO can be found in docstring of
-`posframe-show'. "
+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'. "
(posframe-poshandler-point-1 info nil nil t))
(defalias 'posframe-poshandler-point-bottom-left-corner-upward
#'posframe-poshandler-p0p1-to-p0p1)