* wl-draft.el (wl-draft-parent-folder): Write description.
authoryoichi <yoichi>
Mon, 2 Sep 2002 07:01:52 +0000 (07:01 +0000)
committeryoichi <yoichi>
Mon, 2 Sep 2002 07:01:52 +0000 (07:01 +0000)
wl/ChangeLog
wl/wl-draft.el

index a14b1cd..7d43693 100644 (file)
@@ -1,3 +1,7 @@
+2002-09-02  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
+
+       * wl-draft.el (wl-draft-parent-folder): Write description.
+
 2002-09-02  Yuuichi Teranishi  <teranisi@gohome.org>
 
        * wl-draft.el (wl-draft-create-buffer): Set `wl-draft-parent-folder'
index 80e3e25..9f31067 100644 (file)
 (defvar wl-draft-reedit nil)
 (defvar wl-draft-reply-buffer nil)
 (defvar wl-draft-forward nil)
-(defvar wl-draft-parent-folder nil)
 (defvar wl-draft-doing-mime-bcc nil)
 
+(defvar wl-draft-parent-folder nil
+  "Parent folder name of the current draft.
+This variable is local in each draft buffer.
+You can refer its value in `wl-draft-config-alist'.
+
+e.g.
+(setq wl-draft-config-alist
+      '(((string-match \".*@domain1$\" wl-draft-parent-folder)
+        (\"From\" . \"user@domain1\"))
+       ((string-match \".*@domain2$\" wl-draft-parent-folder)
+        (\"From\" . \"user@domain2\"))))")
+
 (defvar wl-draft-config-sub-func-alist
   '((body              . wl-draft-config-sub-body)
     (top               . wl-draft-config-sub-top)