* mime-edit.el (mime-edit-set-parameter): Get rid of the duplicated optional
authoryamaoka <yamaoka>
Tue, 6 Mar 2001 23:46:41 +0000 (23:46 +0000)
committeryamaoka <yamaoka>
Tue, 6 Mar 2001 23:46:41 +0000 (23:46 +0000)
 fields.

ChangeLog
mime-edit.el

index 6b84d7b..f69b01e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-03-06  Hiroya Murata     <lapis-lazuli@pop06.odn.ne.jp>
+
+       * mime-edit.el (mime-edit-set-parameter): Get rid of the duplicated
+       optional fields.
+
 2000-12-28  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
 
        * mime-view.el: Revert to use `static'.
index 56dc680..8716c25 100644 (file)
@@ -1495,7 +1495,7 @@ Nil if no such parameter."
        ;; Change value
        (concat (substring ctype 0 (match-beginning 1))
                parameter "=" value
-               (substring contype (match-end 1))
+               (substring ctype (match-end 1))
                opt-fields)
       (concat ctype "; " parameter "=" value opt-fields)
       )))