summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Mendler <mail@daniel-mendler.de>2025-04-06 01:05:04 +0200
committerDaniel Mendler <mail@daniel-mendler.de>2025-04-06 02:09:49 +0200
commite83cb6e56d6c88472f4d9b2ce8986ed80be01e4a (patch)
treec74e54345b687f96ecccb1aa11ca401d513c9a12
parenteea39b5d4e9fcaad89afe94dd15e313aeb82d1ba (diff)
Improve docstring
-rw-r--r--extensions/corfu-history.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/extensions/corfu-history.el b/extensions/corfu-history.el
index 0022fbc..0e05cf3 100644
--- a/extensions/corfu-history.el
+++ b/extensions/corfu-history.el
@@ -50,12 +50,12 @@ or the property `history-length' of `corfu-history'.")
"Hash table of Corfu candidates.")
(defcustom corfu-history-duplicate 1.0
- "Weight of duplicate elements, multiplied with the length of the history.
+ "Weight of duplicate elements, multiplied by the length of the history.
Duplicate elements in the history are prioritized such that they appear
earlier in the completion list. The value should be between 0.0 and
-1.0. For 0 only the recency of history elements matters. If the value
-is 1.0, frequency is more relevant than recency. Note that
-`history-delete-duplicates' must be disabled for duplicates to appear."
+1.0. For 0, only the recency of history elements matters. If the value
+is 1.0, frequency is more relevant than recency. Note that duplicates
+occur only if `history-delete-duplicates' is disabled."
:type 'float
:group 'corfu)