From: yoichi Date: Thu, 6 Dec 2001 10:34:49 +0000 (+0000) Subject: If wl-summary-update-confirm-threshold is nil, never confirm. X-Git-Tag: wl-2_8-root~90 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f2231f8795c02ceda17da2e83dee6945d1e39364;p=elisp%2Fwanderlust.git If wl-summary-update-confirm-threshold is nil, never confirm. --- diff --git a/doc/wl-ja.texi b/doc/wl-ja.texi index 286133e..a57eb2d 100644 --- a/doc/wl-ja.texi +++ b/doc/wl-ja.texi @@ -3612,7 +3612,7 @@ Non-nil $B$J$i(B @code{wl-summary-jump-to-msg-by-message-id} $B$G!"%a%C%;!<%8 @item wl-summary-update-confirm-threshold @vindex wl-summary-update-confirm-threshold $B=i4|@_Dj$O(B 500$B!#$3$NCM$h$j%5%^%j$N99?7?t$,B?$$>l9g!"0lItJ,$@$199?7$9$k$+(B -$B$I$&$+!" + + * wl-vars.el (wl-summary-update-confirm-threshold): The value can + be nil, nil means never confirm. + * wl-summary.el (wl-summary-confirm-appends): Ditto. + 2001-12-06 Yoichi NAKAYAMA * wl-vars.el (wl-subject-length-limit): This value can be nil (nil diff --git a/wl/wl-summary.el b/wl/wl-summary.el index f362a36..01d62f9 100644 --- a/wl/wl-summary.el +++ b/wl/wl-summary.el @@ -2020,7 +2020,8 @@ If ARG is non-nil, checking is omitted." (defun wl-summary-confirm-appends (appends) (let ((len (length appends)) in) - (if (> len wl-summary-update-confirm-threshold) + (if (and wl-summary-update-confirm-threshold + (> len wl-summary-update-confirm-threshold)) (if (y-or-n-p (format "Too many messages(%d). Continue? " len)) appends (setq in wl-summary-update-confirm-threshold) diff --git a/wl/wl-vars.el b/wl/wl-vars.el index 354b3c0..f6bf3cd 100644 --- a/wl/wl-vars.el +++ b/wl/wl-vars.el @@ -196,8 +196,10 @@ If you don't have multiple e-mail addresses, you don't have to set this." :group 'wl-summary) (defcustom wl-summary-update-confirm-threshold 500 - "*Confirm updating summary if message number is larger than this value." - :type 'integer + "*Confirm updating summary if message number is larger than this value. +If nil, all the message will be updated without confirmation." + :type '(choice (const :tag "Never confirm" nil) + integer) :group 'wl-summary) ;; Important folders