2002-01-17  Kenichi OKADA  <okada@opaopa.org>
 
+       * wl.el (wl): Call `wl-check-type'
+       Do not 'condition-case'.
+
+2002-01-17  Kenichi OKADA  <okada@opaopa.org>
+
        * wl.el (wl-check-type): New function.
        (wl-check-type-variables): New variable.
 
 
     (condition-case obj
        (progn
          (if check
-             (condition-case nil
-                 (progn
-                   (message "Checking environment...")
-                   (wl-check-environment arg)
-                   (message "Checking environment...done"))
-               (error)
-               (quit)))
+             (progn
+               (message "Checking environment...")
+               (wl-check-environment arg)
+               (message "Checking environment...done")
+               (message "Checking type of variables...")
+               (wl-check-type)
+               (message "Checking type of variables...done")))
          (wl-plugged-init (wl-folder arg))
          (unless arg
            (run-hooks 'wl-auto-check-folder-pre-hook)
       (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)