]> code.delx.au - gnu-emacs/blobdiff - lisp/dnd.el
(font-lock-keywords): Fix spelling in docstrings.
[gnu-emacs] / lisp / dnd.el
index b6d4d498c954b0240ea2d2ea51692949bad275b7..96c9e18a3f19c766e89d230864640fa60a75fb35 100644 (file)
@@ -36,6 +36,7 @@
 ;;; Customizable variables
 
 
+;;;###autoload
 (defcustom dnd-protocol-alist
   '(
     ("^file:///" . dnd-open-local-file)        ; XDND format.
@@ -55,7 +56,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)