(when (memq (elmo-folder-get-type folder)
'(localdir imap4 maildir))
(let (key mladdress)
- (when (string-match "[^\\./]+$" (substring folder 1)) ; remove symbol
+ (setq folder (substring folder 1)) ; remove folder type symbol
+ (when (string-match "[^\\./]+$" folder)
(setq key (regexp-quote
(concat (substring folder (match-beginning 0)) "@")))
(setq mladdress