+2010-08-05 Tetsurou Okazaki <okazaki@be.to>
+
+ * smtp.el (smtp-submit-package): Handle the case that
+ `smtp-find-connection' returns nil in unwind forms.
+
2010-06-21 Katsumi Yamaoka <yamaoka@jpl.org>
* FLIM-CFG: Add emu subdirectory to load-path when LISPDIR is
(smtp-primitive-rcptto package)
(smtp-primitive-data package))
(let ((connection (smtp-find-connection (current-buffer))))
- (when (smtp-connection-opened connection)
+ (when (and connection (smtp-connection-opened connection))
(condition-case nil
(smtp-primitive-quit package)
(smtp-error))