From 7d85b4acce363e4c62257538169aa0ce5b977edd Mon Sep 17 00:00:00 2001 From: "Dirk-Jan C. Binnema" Date: Wed, 30 Aug 2023 18:58:35 +0300 Subject: [PATCH] mu4e-compose-complete-addresses: use correct type Backport from master Fixes #2544 --- mu4e/mu4e-contacts.el | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/mu4e/mu4e-contacts.el b/mu4e/mu4e-contacts.el index d207f339..2f3044b6 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 . -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