branch: externals/capf-autosuggest
commit dd21f4b268cf755c95056833bc3d7c4f8ae2d1f7
Author: jakanakaevangeli <[email protected]>
Commit: jakanakaevangeli <[email protected]>
Fix capf-autosuggest-accept
---
capf-autosuggest.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/capf-autosuggest.el b/capf-autosuggest.el
index 9662ca1..c757fe3 100644
--- a/capf-autosuggest.el
+++ b/capf-autosuggest.el
@@ -197,7 +197,7 @@ point forward."
(capf-autosuggest-call-partial-accept-cmd
(lambda ()
(interactive)
- (goto-char (cdr capf-autosuggest--region)))))
+ (goto-char (overlay-start capf-autosuggest--overlay)))))
(defun capf-autosuggest--active-acf (beg end _length)
"Deactivate auto-suggestion on completion region changes."