elmo-folder-type-internal when elmo-folder-type returns nil.
* wl-xmas.el (wl-highlight-folder-current-line): Ditto.
* elmo.el (elmo-folder-type): Undo last change.
2004-02-09 Yuuichi Teranishi <teranisi@gohome.org>
+ * elmo.el (elmo-folder-type): Undo last change.
+
* slp.el (slp-exec-wait): Avoid byte-compile warnings.
* elmo-nntp.el (elmo-nntp-folder-list-subfolders): Avoid byte-compile
(defmacro elmo-folder-type (name)
"Get folder type from NAME string."
`(and (stringp ,name)
- (or (cdr (assoc (string-to-char ,name) elmo-folder-type-alist))
- (when (string-match "\\([^:]*\\):" ,name)
- (intern (match-string 1 ,name))))))
+ (cdr (assoc (string-to-char ,name) elmo-folder-type-alist))))
;;; ELMO folder
;; A elmo folder provides uniformed (orchestrated) access
2004-02-09 Yuuichi Teranishi <teranisi@gohome.org>
+ * wl-e21.el (wl-highlight-folder-current-line): Use
+ elmo-folder-type-internal when elmo-folder-type returns nil.
+
+ * wl-xmas.el (wl-highlight-folder-current-line): Ditto.
+
* wl.el (wl-init): Setup faces accoding to wl-summary-flag-alist.
* wl-xmas.el (wl-summary-toolbar): Setup wl-summary-set-flags.
((string= fld-name wl-queue-folder);; queue folder
(get 'wl-folder-queue-image 'image))
(;; and one of many other folders
- (setq type (elmo-folder-type fld-name))
+ (setq type (or (elmo-folder-type fld-name)
+ (elmo-folder-type-internal
+ (elmo-make-folder fld-name))))
(get (intern (format "wl-folder-%s-image" type))
'image)))))
(overlay-put overlay 'before-string image)))
((string= fld-name wl-queue-folder);; queue folder
(get 'wl-folder-queue-glyph 'glyph))
(;; and one of many other folders
- (setq type (elmo-folder-type fld-name))
+ (setq type (or (elmo-folder-type fld-name)
+ (elmo-folder-type-internal
+ (elmo-make-folder fld-name))))
(get (intern (format "wl-folder-%s-glyph" type)) 'glyph))))))
(let ((end (point-at-eol)))
(when wl-use-highlight-mouse-line