string and go on blissfully
* gnus-registry.el (gnus-registry-split-fancy-with-parent): catch
cases where the references string is non-nil but has no references
2004-10-18 Teodor Zlatanov <tzz@lifelogs.com>
+ * gnus-util.el (gnus-split-references): accept a nil references
+ string and go on blissfully
+
+ * gnus-registry.el (gnus-registry-split-fancy-with-parent): catch
+ cases where the references string is non-nil but has no references
+
* encrypt.el: add autoload tags
* spam.el (spam-resolve-registrations-routine): remove article
nnmail-split-fancy-with-parent-ignore-groups
(list nnmail-split-fancy-with-parent-ignore-groups)))
references res)
- (if refstr
+ ;; the references string must be valid and parse to valid references
+ (if (and refstr (gnus-extract-references refstr))
(progn
(setq references (nreverse (gnus-extract-references refstr)))
(mapcar (lambda (x)
(defun gnus-split-references (references)
"Return a list of Message-IDs in REFERENCES."
(let ((beg 0)
+ (references (or references ""))
ids)
(while (string-match "<[^<]+[^< \t]" references beg)
(push (substring references (match-beginning 0) (setq beg (match-end 0)))