value if selecting folder succceeded.
(Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
+2000-10-27 Yuuichi Teranishi <teranisi@gohome.org>
+
+ * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
+ value if selecting folder succceeded.
+ (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
+
2000-10-26 TAKAHASHI Kaoru <kaoru@kaisei.org>
* elmo-util.el (elmo-make-directory): Fixed permission lateral
is same as MAILBOX.
If second optional argument NO-ERROR is non-nil, don't cause an error when
selecting folder was failed.
-Returns t if selecting folder succeed. Otherwise, nil is returned."
+Returns response value if selecting folder succeed. "
(when (or force
(not (string=
(elmo-imap4-session-current-mailbox-internal session)
(error (or
(elmo-imap4-response-error-text response)
(format "Select %s failed" mailbox))))))
- result)))
+ (and result response))))
(defun elmo-imap4-check-validity (spec validity-file)
;;; Not used.