branch: externals/company
commit 2b77317c4c0c8f202974a867abc2f6772e17a253
Author: Dmitry Gutov <[email protected]>
Commit: Dmitry Gutov <[email protected]>
Fix compat with Emacs < 29
---
company-childframe.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/company-childframe.el b/company-childframe.el
index 3f1efa0094..2b4797dbe1 100644
--- a/company-childframe.el
+++ b/company-childframe.el
@@ -95,7 +95,7 @@ Users of HiDPI screens might like to set it to 2."
(thread-last
(and (= point (point-max))
(overlays-in point point))
- (mapcar (lambda (o) (string-pixel-width
+ (mapcar (lambda (o) (company--string-pixel-width
(overlay-get o 'after-string))))
(cl-reduce #'+))))
(posn (posn-at-point point parent-window))