summaryrefslogtreecommitdiff
path: root/extensions
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 14:11:47 +0200
commit7b527613e6638e711f3befbacaf7448f11f38743 (patch)
treec74e54345b687f96ecccb1aa11ca401d513c9a12 /extensions
parent54a789c9ed3fc4969b34ac666b2a38bdd6bd979f (diff)
Improve docstring
Diffstat (limited to 'extensions')
-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)