inappropriate position into the first string-match.
2002-03-19 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
+ * wl.el (wl-check-environment): Merge examination for "@" at
+ inappropriate position into the first string-match.
+
* wl-summary.el (wl-summary-target-mark-print): New function.
(wl-summary-pipe-message-subr): Extracted from
`wl-summary-pipe-message'.
;; Message-ID
(let ((message-id (funcall wl-message-id-function))
domain)
- (unless (string-match "^<\\(.*\\)@\\(.*\\)>$" message-id)
- (error "Please check `wl-message-id-function'."))
- (if (string-match "@" (match-string 1 message-id))
- (error "Cannot get valid Message-ID string."))
+ (unless (string-match "^<\\([^@]*\\)@\\([^@]*\\)>$" message-id)
+ (error
+ "Check around `wl-message-id-function' to get valid Message-ID string."))
(setq domain (match-string 2 message-id))
(if (or (not (string-match "[^.]\\.[^.]" domain))
(string= domain "localhost.localdomain"))