* wl-draft.el (wl-draft-default-headers): Suppress warning
authorkaoru <kaoru>
Sat, 2 Jan 2010 14:30:16 +0000 (14:30 +0000)
committerkaoru <kaoru>
Sat, 2 Jan 2010 14:30:16 +0000 (14:30 +0000)
"defsubst `wl-draft-default-headers' was used before it was
defined"; Use `defun' instead of `defsubst'.

wl/ChangeLog
wl/wl-draft.el

index 0f907f9..e39191d 100644 (file)
@@ -1,5 +1,9 @@
 2010-01-02  TAKAHASHI Kaoru  <kaoru@kaisei.org>
 
+       * wl-draft.el (wl-draft-default-headers): Suppress warning
+       "defsubst `wl-draft-default-headers' was used before it was
+       defined"; Use `defun' instead of `defsubst'.
+
        * wl-address.el (wl-address-header-extract-address)
        (wl-address-header-extract-realname): Fix mail-address in
        docstring.
index 4ebc129..947100a 100644 (file)
@@ -1848,7 +1848,7 @@ If KILL-WHEN-DONE is non-nil, current draft buffer is killed"
        field
       nil)))
 
-(defsubst wl-draft-default-headers ()
+(defun wl-draft-default-headers ()
   (list
    (cons 'Mail-Reply-To (and wl-insert-mail-reply-to
                             (wl-address-header-extract-address