(mm-handle-set-disposition): New macro.
authorKatsumi Yamaoka <yamaoka@jpl.org>
Mon, 23 Jan 2006 09:47:37 +0000 (09:47 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Mon, 23 Jan 2006 09:47:37 +0000 (09:47 +0000)
(mm-handle-set-description): New macro.

lisp/mm-decode.el

index 4d030f8..7cd7339 100644 (file)
   `(setcar (nthcdr 3 ,handle) ,function))
 (defmacro mm-handle-disposition (handle)
   `(nth 4 ,handle))
+(defmacro mm-handle-set-disposition (handle disposition)
+  `(setcar (nthcdr 4 ,handle) ,disposition))
 (defmacro mm-handle-description (handle)
   `(nth 5 ,handle))
+(defmacro mm-handle-set-description (handle description)
+  `(setcar (nthcdr 5 ,handle) ,description))
 (defmacro mm-handle-cache (handle)
   `(nth 6 ,handle))
 (defmacro mm-handle-set-cache (handle contents)