Variable: mml-dnd-protocol-alist

mml-dnd-protocol-alist is a customizable variable defined in mml.el.gz.

Value

(("^file:///" . mml-dnd-attach-file)
 ("^file://" . dnd-open-file)
 ("^file:" . mml-dnd-attach-file))

Documentation

The functions to call when a drop in mml-mode(var)/mml-mode(fun) is made.

See dnd-protocol-alist for more information. When nil, behave as in other buffers.

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

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/mml.el.gz
;;; Attachment functions.

(defcustom mml-dnd-protocol-alist
  '(("^file:///" . mml-dnd-attach-file)
    ("^file://"  . dnd-open-file)
    ("^file:"    . mml-dnd-attach-file))
  "The functions to call when a drop in `mml-mode' is made.
See `dnd-protocol-alist' for more information.  When nil, behave
as in other buffers."
  :type '(choice (repeat (cons (regexp) (function)))
		 (const :tag "Behave as in other buffers" nil))
  :version "22.1" ;; Gnus 5.10.9
  :group 'message)