branch: externals/corfu
commit 24f314dad51d4aea42eb6f672f19ced400a122f1
Author: Daniel Mendler <m...@daniel-mendler.de>
Commit: Daniel Mendler <m...@daniel-mendler.de>

    corfu--auto-complete: Add undo-boundary
---
 corfu.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/corfu.el b/corfu.el
index b925c7e..8008712 100644
--- a/corfu.el
+++ b/corfu.el
@@ -1027,6 +1027,7 @@ A scroll bar is displayed from LO to LO+BAR."
          (setq completion-in-region--data `(,(copy-marker beg) ,(copy-marker 
end t)
                                             ,table ,(plist-get plist 
:predicate))
                corfu--auto-start (float-time))
+         (undo-boundary) ;; Necessary to support `corfu-reset'
          (completion-in-region-mode 1)
          (corfu--setup)
          (corfu--update #'ignore))))))

Reply via email to