Variable: dired-dnd-protocol-alist

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

Value

(("^file:///" . dired-dnd-handle-local-file)
 ("^file://" . dired-dnd-handle-file)
 ("^file:" . dired-dnd-handle-local-file))

Documentation

The functions to call when a drop in dired-mode is made.

See dnd-protocol-alist for more information. When nil, behave as in other buffers. Changing this option is effective only for new Dired buffers.

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

Source Code

;; Defined in /usr/src/emacs/lisp/dired.el.gz
(defcustom dired-dnd-protocol-alist
  '(("^file:///" . dired-dnd-handle-local-file)
    ("^file://"  . dired-dnd-handle-file)
    ("^file:"    . dired-dnd-handle-local-file))
  "The functions to call when a drop in `dired-mode' is made.
See `dnd-protocol-alist' for more information.  When nil, behave
as in other buffers.  Changing this option is effective only for
new Dired buffers."
  :type '(choice (repeat (cons (regexp) (function)))
		 (const :tag "Behave as in other buffers" nil))
  :version "22.1"
  :group 'dired)