* wl-folder.el (wl-folder-guess-mailing-list-by-folder-name):
authorkaoru <kaoru>
Wed, 7 Mar 2001 14:26:21 +0000 (14:26 +0000)
committerkaoru <kaoru>
Wed, 7 Mar 2001 14:26:21 +0000 (14:26 +0000)
Fixed probrem guess by top level folder.

wl/ChangeLog
wl/wl-folder.el

index f6309d4..173d5e6 100644 (file)
@@ -1,5 +1,8 @@
 2001-03-07  TAKAHASHI Kaoru  <kaoru@kaisei.org>
 
+       * wl-folder.el (wl-folder-guess-mailing-list-by-folder-name):
+       Fixed probrem guess by top level folder.
+
        * wl-draft.el (wl-draft-random-alphabet): Removed.
        (wl-draft-confirm): Don't use conditonal statement
        in `format' argument; Use gettext style.
index ee95246..b9954ed 100644 (file)
@@ -2064,7 +2064,7 @@ Use `wl-subscribed-mailing-list'."
   (when (memq (elmo-folder-get-type folder)
              '(localdir imap4 maildir))
     (let (key mladdress)
-      (when (string-match "[^\\./]+$" folder)
+      (when (string-match "[^\\./]+$" (substring folder 1)) ; remove symbol
        (setq key (regexp-quote
                   (concat (substring folder (match-beginning 0)) "@")))
        (setq mladdress