wl-message-buffer-cache-size))
(error (concat
"`wl-message-buffer-prefetch-depth' must be smaller than "
- "`wl-message-buffer-cache-size' - 1.")))))
+ "`wl-message-buffer-cache-size' - 1."))))
+ (let (case-fold-search)
+ (unless (string-match "%T" wl-summary-line-format)
+ (error "`wl-summary-line-format' must contain %%T and %%P"))
+ (unless (string-match "%P" wl-summary-line-format)
+ (error "`wl-summary-line-format' must contain %%T and %%P"))
+ (dolist (pair wl-folder-summary-line-format-alist)
+ (unless (string-match "%T" (cdr pair))
+ (error "Format `%s' must contain %%T and %%P" (cdr pair)))
+ (unless (string-match "%P" (cdr pair))
+ (error "Format `%s' must contain %%T and %%P" (cdr pair))))))
;;;###autoload
(defun wl (&optional arg)
(wl-check-variables)
(wl-check-variables-2)
(message "Checking type of variables...done")))
- (wl-plugged-init (wl-folder arg))
+ (let ((inhibit-quit t))
+ (wl-plugged-init (wl-folder arg)))
(unless arg
(run-hooks 'wl-auto-check-folder-pre-hook)
(wl-folder-auto-check)
(error
(if (buffer-live-p demo-buf)
(kill-buffer demo-buf))
- (setq wl-init nil)
(signal (car obj)(cdr obj)))
(quit))
(if (buffer-live-p demo-buf)