summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Mendler <mail@daniel-mendler.de>2025-11-07 20:15:08 +0100
committerDaniel Mendler <mail@daniel-mendler.de>2025-11-07 20:15:08 +0100
commit31ff155688944126168c00ce205b8410004b5082 (patch)
treed4a33f1fd83a705b8ca55dde5554e1e27e3c5f35
parent635c9c11ed6db657315e56797d887235e0b82d63 (diff)
corfu-on-exact-match: Change default from insert to nil
This setting is more compatible with auto completion and template/snippet/abbreviation expansion.
-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'.