branch: externals/posframe commit 219dc8f35b7a2cd8f313777a349e0abdbd2e1dff Author: Feng Shu <tuma...@163.com> Commit: Feng Shu <tuma...@163.com>
Remove :position-info --- posframe.el | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/posframe.el b/posframe.el index cb091ee498..38551549a4 100644 --- a/posframe.el +++ b/posframe.el @@ -1105,12 +1105,7 @@ Optional arguments: FONT-HEIGHT and UPWARD." (window (plist-get info :parent-window)) (xmax (plist-get info :parent-frame-width)) (ymax (plist-get info :parent-frame-height)) - (position-info - (or - ;; :position-info has been removed, this line - ;; is used for compatible. - (plist-get info :position-info) - (plist-get info :position))) + (position-info (plist-get info :position)) (position-info (if (integerp position-info) (posn-at-point position-info window)