syntax. Protect string-match against nil string and regexp.
2001-08-04 Kai Gro\e,A_\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
* nnmail.el (nnmail-split-fancy-with-parent): Correct `mapconcat'
- syntax.
+ syntax. Protect string-match against nil string and regexp.
2001-08-03 19:00:00 ShengHuo ZHU <zsh@cs.rochester.edu>
(mapcar (lambda (x)
(setq res (or (nnmail-cache-fetch-group x) res))
(when (or (string= "drafts" res)
- (and regexp (string-match regexp res)))
+ (and regexp res (string-match regexp res)))
(setq res nil)))
references)
res)))