folder always-sticky.
* wl-summary.el (wl-summary-always-sticky-folder-p): defun instead of
defmacro.
+2000-05-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
+
+ * wl-vars.el (wl-summary-always-sticky-folder-list): `t' means all
+ folder always-sticky.
+ * wl-summary.el (wl-summary-always-sticky-folder-p): defun instead of
+ defmacro.
+
2000-05-18 Yuuichi Teranishi <teranisi@gohome.org>
* wl-vars.el (wl-draft-add-references): New user option.
(get-buffer (wl-summary-sticky-buffer-name fld))
(not (string= wl-summary-buffer-name (buffer-name)))))
-(defmacro wl-summary-always-sticky-folder-p (fld)
- (` (wl-string-match-member (, fld) wl-summary-always-sticky-folder-list)))
+(defun wl-summary-always-sticky-folder-p (fld)
+ (or (eq t wl-summary-always-sticky-folder-list)
+ (wl-string-match-member fld wl-summary-always-sticky-folder-list)))
(defun wl-summary-stick (&optional force)
"Make current summary buffer sticky."
(defcustom wl-summary-always-sticky-folder-list nil
"All folders that match this list has sticky summary.
Each elements are regexp of folder name."
- :type '(repeat (regexp :tag "Folder Regexp"))
+ :type '(radio (const :tag "none" nil)
+ (const :tag "all" t)
+ (repeat (regexp :tag "Folder Regexp")))
:group 'wl-pref)
(defcustom wl-no-save-folder-list '("^/.*$")