+2000-11-09 TAKAHASHI Kaoru <kaoru@kaisei.org>
+
+ * wl-folder.el (wl-folder-guess-mailing-list-by-folder-name): Use
+ `regexp-quote'.
+
2000-11-08 TAKAHASHI Kaoru <kaoru@kaisei.org>
* wl-folder.el (wl-folder-guess-mailing-list-by-folder-name): New
(defun wl-folder-guess-mailing-list-by-folder-name (folder)
"Return ML address guess by FOLDER name's last hierarchy.
-Use `wl-subscribed-mailing-list'. Don't care multi."
+Use `wl-subscribed-mailing-list'."
(setq folder (car (elmo-folder-get-primitive-folder-list folder)))
(when (memq (elmo-folder-get-type folder)
'(localdir imap4 maildir))
(let (key mladdress)
(when (string-match "[^\\./]+$" folder)
- (setq key (concat "^" (substring folder (match-beginning 0)) "@"))
+ (setq key (regexp-quote
+ (concat (substring folder (match-beginning 0)) "@")))
(setq mladdress
(elmo-string-matched-member
key wl-subscribed-mailing-list 'case-ignore))