2007-12-02 Glenn Morris <rgm@gnu.org>
+ * url-about.el, url-handlers.el: Don't require cl when compiling.
+
+ * url-dav.el (url-dav-delete-directory): Fix message typo.
+
+ * url-history.el (top-level): Don't require cl when compiling.
+ (url-history-setup-save-timer, url-history-save-history):
+ Use condition-case rather than ignore-errors.
+
+ * url-imap.el (top-level): Don't require cl when compiling.
+ (url-imap): Use signal rather than check-type.
+
* url-news.el (top-level): Don't require cl when compiling.
(gnus-group-buffer): Define for compiler.
(url-news-fetch-message-id): Don't use `declare'.
;;; Code:
-(eval-when-compile (require 'cl))
(require 'url-util)
(require 'url-parse)
(require 'nnimap)
(nnimap-authenticator ,authenticator)))))
(defun url-imap (url)
- (check-type url vector "Need a pre-parsed URL.")
+ (unless (vectorp url)
+ (signal 'wrong-type-error (list "Need a pre-parsed URL." url)))
(save-excursion
(set-buffer (generate-new-buffer " *url-imap*"))
(mm-disable-multibyte)