Commit 06dc8321 authored by Karl Fogel's avatar Karl Fogel

(nnmail-article-group): If splitting raises an error, give some

information about the error when saying that the `bogus' mail group
will be used.
parent 3a723c3a
2006-07-18 Karl Fogel <kfogel@red-bean.com>
* nnmail.el (nnmail-article-group): If splitting raises an error, give
some information about the error when saying that the `bogus' mail
group will be used.
2006-07-18 Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de>
[ Backported bug fixes from No Gnus. ]
......
......@@ -1131,7 +1131,7 @@ FUNC will be called with the group name to determine the article number."
(if (and (symbolp nnmail-split-methods)
(fboundp nnmail-split-methods))
(let ((split
(condition-case nil
(condition-case error-info
;; `nnmail-split-methods' is a function, so we
;; just call this function here and use the
;; result.
......@@ -1139,7 +1139,7 @@ FUNC will be called with the group name to determine the article number."
'("bogus"))
(error
(nnheader-message
5 "Error in `nnmail-split-methods'; using `bogus' mail group")
5 "Error in `nnmail-split-methods'; using `bogus' mail group: %S" error-info)
(sit-for 1)
'("bogus")))))
(setq split (mm-delete-duplicates split))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment