summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.org5
-rw-r--r--corfu.el2
2 files changed, 6 insertions, 1 deletions
diff --git a/CHANGELOG.org b/CHANGELOG.org
index f3bd3de..1396f48 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 d06965e..cea9c12 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'.