Variable: gnus-article-mime-match-handle-function

gnus-article-mime-match-handle-function is a customizable variable defined in gnus-art.el.gz.

Value

undisplayed-alternative

Documentation

Function called with a MIME handle as the argument.

This is meant for people who want to view first matched part. For undisplayed-alternative (default), the first undisplayed part or alternative part is used. For undisplayed, the first undisplayed part is used. For a function, the first part which the function return t is used. For nil, the first part is used.

This variable was added, or its default value changed, in Emacs 21.1.

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/gnus-art.el.gz
(defcustom gnus-article-mime-match-handle-function 'undisplayed-alternative
  "Function called with a MIME handle as the argument.
This is meant for people who want to view first matched part.
For `undisplayed-alternative' (default), the first undisplayed
part or alternative part is used.  For `undisplayed', the first
undisplayed part is used.  For a function, the first part which
the function return t is used.  For nil, the first part is
used."
  :version "21.1"
  :group 'gnus-article-mime
  :type '(choice
	  (item :tag "first" :value nil)
	  (item :tag "undisplayed" :value undisplayed)
	  (item :tag "undisplayed or alternative"
		:value undisplayed-alternative)
	  (function)))