+2001-11-18 Kenichi OKADA <okada@opaopa.org>
+
+ * wl-draft.el (wl-draft-config-sub-header-top): New fucntion.
+ (wl-draft-config-sub-func-alist): Added `wl-draft-config-sub-header-top'.
+ `wl-draft-config-sub-header-bottom'.
+
2001-11-14 TAKAHASHI Kaoru <kaoru@kaisei.org>
* wl-folder.el (wl-folder-get-newsgroups): Fixed probrem when
(defvar wl-draft-forward nil)
(defvar wl-draft-config-sub-func-alist
- '((body . wl-draft-config-sub-body)
- (top . wl-draft-config-sub-top)
- (bottom . wl-draft-config-sub-bottom)
- (header . wl-draft-config-sub-header)
- (body-file . wl-draft-config-sub-body-file)
- (top-file . wl-draft-config-sub-top-file)
- (bottom-file . wl-draft-config-sub-bottom-file)
- (header-file . wl-draft-config-sub-header-file)
- (template . wl-draft-config-sub-template)
- (x-face . wl-draft-config-sub-x-face)))
+ '((body . wl-draft-config-sub-body)
+ (top . wl-draft-config-sub-top)
+ (bottom . wl-draft-config-sub-bottom)
+ (header . wl-draft-config-sub-header)
+ (header-top . wl-draft-config-sub-header-top)
+ (header-bottom . wl-draft-config-sub-header)
+ (body-file . wl-draft-config-sub-body-file)
+ (top-file . wl-draft-config-sub-top-file)
+ (bottom-file . wl-draft-config-sub-bottom-file)
+ (header-file . wl-draft-config-sub-header-file)
+ (template . wl-draft-config-sub-template)
+ (x-face . wl-draft-config-sub-x-face)))
(make-variable-buffer-local 'wl-draft-buffer-file-name)
(make-variable-buffer-local 'wl-draft-buffer-cur-summary-buffer)
(wl-draft-body-goto-bottom)
(if content (insert (eval content))))
+(defun wl-draft-config-sub-header-top (content)
+ (goto-char (point-min))
+ (if content (insert (concat (eval content) "\n"))))
+
(defun wl-draft-config-sub-header (content)
(wl-draft-config-body-goto-header)
(if content (insert (concat (eval content) "\n"))))