summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirk-Jan C. Binnema <djcb@djcbsoftware.nl>2023-08-30 18:58:35 +0300
committerDirk-Jan C. Binnema <djcb@djcbsoftware.nl>2023-08-30 19:00:26 +0300
commit7d85b4acce363e4c62257538169aa0ce5b977edd (patch)
tree06d22da253fb7129b98f10534a7954d20b719c24
parent0470d07ba9b0f6f14d92edc605f8c318c8a8617f (diff)
mu4e-compose-complete-addresses: use correct type
Backport from master Fixes #2544
-rw-r--r--mu4e/mu4e-contacts.el11
1 files changed, 5 insertions, 6 deletions
diff --git a/mu4e/mu4e-contacts.el b/mu4e/mu4e-contacts.el
index d207f33..2f3044b 100644
--- a/mu4e/mu4e-contacts.el
+++ b/mu4e/mu4e-contacts.el
@@ -57,15 +57,14 @@ time-based restriction."
:group 'mu4e-compose)
(defcustom mu4e-compose-complete-max nil
- "Consider only the top-n contacts.
-After considering the other
-constraints (`mu4e-compose-complete-addresses' and
+ "Limit the amount of contacts for completion, nil for no limits.
+After considering the other constraints
+\(`mu4e-compose-complete-addresses' and
`mu4e-compose-complete-only-after'), pick only the highest-ranked
<n>.
-This reduces start-up time and memory usage. Set to nil for no
-limits."
- :type 'string
+Lowering this variable reduces start-up time and memory usage."
+ :type '(choice natnum (const :tag "No limits" nil))
:group 'mu4e-compose)
;; names and mail-addresses can be mapped onto their canonical