summaryrefslogtreecommitdiff
path: root/lisp/dnd.el
diff options
context:
space:
mode:
authorReiner Steib <Reiner.Steib@gmx.de>2005-05-11 19:32:51 +0000
committerReiner Steib <Reiner.Steib@gmx.de>2005-05-11 19:32:51 +0000
commit1ed8284daff074325427cb14533c6d8e373863cc (patch)
tree5cac39f2d2c9e34430c9e15ed0ec86154962ed33 /lisp/dnd.el
parent90cbc9cda0faefbc14da6c5f50c6c9d6c4236d83 (diff)
downloademacs-1ed8284daff074325427cb14533c6d8e373863cc.tar.gz
* dnd.el (dnd-protocol-alist): Improve custom type.
* dired.el (dired-dnd-protocol-alist): New variable. (dired-mode): Use `dired-dnd-protocol-alist'. Move call of `dired-mode-hook' to the end.
Diffstat (limited to 'lisp/dnd.el')
-rw-r--r--lisp/dnd.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/dnd.el b/lisp/dnd.el
index b6d4d498c95..927f2e3bdb6 100644
--- a/lisp/dnd.el
+++ b/lisp/dnd.el
@@ -55,7 +55,7 @@ If no match is found, the URL is inserted as text by calling `dnd-insert-text'.
The function shall return the action done (move, copy, link or private)
if some action was made, or nil if the URL is ignored."
:version "22.1"
- :type 'alist
+ :type '(repeat (cons (regexp) (function)))
:group 'dnd)