From aee0f72600777cadafc048e68f74b910ac83562c Mon Sep 17 00:00:00 2001 From: Ruijie Yu Date: Wed, 10 May 2023 12:05:16 +0800 Subject: [PATCH] * mu4e/mu4e-contacts.el (mu4e-compose-complete-max): update type+doc --- 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 b13cf086..07e5168f 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