branch: externals/company
commit 796822fb34d7f106a3600add31569d614fe1d8e9
Author: Dmitry Gutov <[email protected]>
Commit: Dmitry Gutov <[email protected]>
company-childframe-show-at-prefix: Restore Emacs 26.1 compatibility
---
company-childframe.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/company-childframe.el b/company-childframe.el
index 982e0a92f32..87306b9dcb3 100644
--- a/company-childframe.el
+++ b/company-childframe.el
@@ -119,7 +119,7 @@ Users of HiDPI screens might like to set it to 2."
;; someday, but the odds seem low.
after-string-width))
(when (< (plist-get info :posframe-height) min-bottom-distance)
- (cl-decf (plist-get info :parent-frame-height)
+ (cl-decf (cadr (plist-member info :parent-frame-height))
(- min-bottom-distance (plist-get info :posframe-height))))
(setq handler-res
(posframe-poshandler-point-bottom-left-corner