From: Glenn Morris Date: Fri, 6 Mar 2009 03:46:28 +0000 (+0000) Subject: (rmail-mime-media-type-handlers-alist): Fix doc and custom type. X-Git-Tag: emacs-pretest-23.0.92~326 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c8644de0d406a99a4a493a0b78a1f3df62d4cfda;p=emacs.git (rmail-mime-media-type-handlers-alist): Fix doc and custom type. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 1b00c6f0fdc..f97bf7cb240 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -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 --git a/lisp/mail/rmailmm.el b/lisp/mail/rmailmm.el index f3c2c5b5053..93e9c3424bd 100644 --- a/lisp/mail/rmailmm.el +++ b/lisp/mail/rmailmm.el @@ -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)