Variable: yank-media-autoselect-function
yank-media-autoselect-function is a variable defined in
yank-media.el.gz.
Value
yank-media-autoselect-function
Documentation
Function to auto select the best MIME types when many are available.
The function is called with a list of MIME types that have handler in
the current buffer, and should return the list of MIME types to use in
order of their priority. When yank-media auto-selects the MIME type,
it will always choose the first one of the returned list.
Major-mode authors can change this variable to influence the selection
process.
Probably introduced at or before Emacs version 31.1.
Source Code
;; Defined in /usr/src/emacs/lisp/yank-media.el.gz
(defvar yank-media-autoselect-function #'yank-media-autoselect-function
"Function to auto select the best MIME types when many are available.
The function is called with a list of MIME types that have handler in
the current buffer, and should return the list of MIME types to use in
order of their priority. When `yank-media' auto-selects the MIME type,
it will always choose the first one of the returned list.
Major-mode authors can change this variable to influence the selection
process.")