# HG changeset patch # User Glenn Morris # Date 1236311188 0 # Node ID 62a954f574fab36091833d6344cde78a3335da54 # Parent 01c5f9df16302434cb736b013f068510f1dd32f7 (rmail-mime-media-type-handlers-alist): Fix doc and custom type. diff -r 01c5f9df1630 -r 62a954f574fa lisp/ChangeLog --- a/lisp/ChangeLog Fri Mar 06 03:45:17 2009 +0000 +++ b/lisp/ChangeLog Fri Mar 06 03:46:28 2009 +0000 @@ -1,3 +1,8 @@ +2009-03-06 Glenn Morris + + * mail/rmailmm.el (rmail-mime-media-type-handlers-alist): Fix doc and + custom type. + 2009-03-05 Tassilo Horn * doc-view.el (doc-view-convert-current-doc): Save the current diff -r 01c5f9df1630 -r 62a954f574fa lisp/mail/rmailmm.el --- a/lisp/mail/rmailmm.el Fri Mar 06 03:45:17 2009 +0000 +++ b/lisp/mail/rmailmm.el Fri Mar 06 03:46:28 2009 +0000 @@ -45,11 +45,11 @@ ;;; ("application/pgp-signature" rmail-mime-application/pgp-signature-handler) ("\\(image\\|audio\\|video\\|application\\)/.*" rmail-mime-bulk-handler)) "Functions to handle various content types. -This is an alist with elements of the form (REGEXP FUNCTION). -REGEXP is a regular expression matching a content-type, and -FUNCTION is a handler function to run. It should return non-nil -if the job is done." - :type '(alist :key-type regexp :value-type (group function)) +This is an alist with elements of the form (REGEXP FUNCTION ...). +The first item is a regular expression matching a content-type. +The remaining elements are handler functions to run, in order of +decreasing preference. These are called until one returns non-nil." + :type '(alist :key-type regexp :value-type (repeat function)) :version "23.1" :group 'mime)