* wl-draft.el (wl-draft-remove-text-plain-tag): Use
authorkaoru <kaoru>
Mon, 10 Feb 2003 14:52:56 +0000 (14:52 +0000)
committerkaoru <kaoru>
Mon, 10 Feb 2003 14:52:56 +0000 (14:52 +0000)
`mime-make-text-tag' instead of `mime-create-tag'.

wl/ChangeLog
wl/wl-draft.el

index fbdace4..8697f4a 100644 (file)
@@ -1,3 +1,8 @@
+2003-02-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
+
+       * wl-draft.el (wl-draft-remove-text-plain-tag): Use
+       `mime-make-text-tag' instead of `mime-create-tag'.
+
 2003-02-10  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
 
        * wl-fldmgr.el (wl-fldmgr-rename): Do nothing on the last line.
index 94ed443..a6cc9a7 100644 (file)
@@ -1870,7 +1870,7 @@ If KILL-WHEN-DONE is non-nil, current draft buffer is killed"
 
 (defun wl-draft-remove-text-plain-tag ()
   "Remove text/plain tag of mime-edit."
-  (when (string= (mime-create-tag "text" "plain")
+  (when (string= (mime-make-text-tag)
                 (buffer-substring-no-properties (point-at-bol)(point-at-eol)))
     (delete-region (point-at-bol)(1+ (point-at-eol)))))