branch: externals/company
commit d21548a6c5019aad11ad194969ce7e446844b1bb
Author: Dmitry Gutov <[email protected]>
Commit: Dmitry Gutov <[email protected]>
company-childframe-show: Obey field boundaries
---
company-childframe.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/company-childframe.el b/company-childframe.el
index 103948c52d..2ce72d0806 100644
--- a/company-childframe.el
+++ b/company-childframe.el
@@ -158,7 +158,7 @@ Users of HiDPI screens might like to set it to 2."
:poshandler company-childframe-poshandler
:poshandler-extra-info
(list :company-margin margin
- :company-prefix-length (length company-prefix))
+ :company-prefix-length (length (car (company--boundaries))))
company-childframe-show-params)
(with-current-buffer buffer
(use-local-map company-childframe-buffer-map)