branch: externals/corfu
commit 31ff155688944126168c00ce205b8410004b5082
Author: Daniel Mendler <[email protected]>
Commit: Daniel Mendler <[email protected]>
corfu-on-exact-match: Change default from insert to nil
This setting is more compatible with auto completion and
template/snippet/abbreviation expansion.
---
CHANGELOG.org | 5 +++++
corfu.el | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/CHANGELOG.org b/CHANGELOG.org
index f3bd3de9df..1396f48df6 100644
--- a/CHANGELOG.org
+++ b/CHANGELOG.org
@@ -2,6 +2,11 @@
#+author: Daniel Mendler
#+language: en
+* Development
+
+- =corfu-on-exact-match=: Change default from =insert= to =nil=, which is more
+ compatible with auto completion and template/snippet/abbreviation expansion.
+
* Version 2.4 (2025-10-13)
- Require Emacs 29.1.
diff --git a/corfu.el b/corfu.el
index d06965e13b..cea9c1222b 100644
--- a/corfu.el
+++ b/corfu.el
@@ -72,7 +72,7 @@ The value should lie between 0 and corfu-count/2."
"Enable cycling for `corfu-next' and `corfu-previous'."
:type 'boolean)
-(defcustom corfu-on-exact-match 'insert
+(defcustom corfu-on-exact-match nil
"Configure how a single exact match should be handled.
- nil: No special handling, continue completion.
- insert: Insert candidate, quit and call the `:exit-function'.