[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/x-dnd.el
From: |
Jan Djärv |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/x-dnd.el |
Date: |
Tue, 31 Aug 2004 07:29:08 -0400 |
Index: emacs/lisp/x-dnd.el
diff -c emacs/lisp/x-dnd.el:1.9 emacs/lisp/x-dnd.el:1.10
*** emacs/lisp/x-dnd.el:1.9 Mon Apr 19 12:45:28 2004
--- emacs/lisp/x-dnd.el Tue Aug 31 11:24:10 2004
***************
*** 58,65 ****
)
"The functions to call for different protocols when a drop is made.
! This variable is used by `x-dnd-handle-uri-list' and `x-dnd-handle-moz-url'.
! The list contains of (REGEXP . FUNCTION) pairs.
The functions shall take two arguments, URL, which is the URL dropped and
ACTION which is the action to be performed for the drop (move, copy, link,
private or ask).
--- 58,65 ----
)
"The functions to call for different protocols when a drop is made.
! This variable is used by `x-dnd-handle-uri-list', `x-dnd-handle-file-name'
! and `x-dnd-handle-moz-url'. The list contains of (REGEXP . FUNCTION) pairs.
The functions shall take two arguments, URL, which is the URL dropped and
ACTION which is the action to be performed for the drop (move, copy, link,
private or ask).
***************
*** 104,112 ****
:type 'boolean
:group 'x)
! ;; Internal variables
!
! (defvar x-dnd-known-types
'("text/uri-list"
"text/x-moz-url"
"_NETSCAPE_URL"
--- 104,110 ----
:type 'boolean
:group 'x)
! (defcustom x-dnd-known-types
'("text/uri-list"
"text/x-moz-url"
"_NETSCAPE_URL"
***************
*** 121,127 ****
"TEXT"
)
"The types accepted by default for dropped data.
! The types are chosen in the order they appear in the list.")
(defvar x-dnd-current-state nil
"The current state for a drop.
--- 119,130 ----
"TEXT"
)
"The types accepted by default for dropped data.
! The types are chosen in the order they appear in the list."
! :type '(repeat string)
! :group 'x
! )
!
! ;; Internal variables
(defvar x-dnd-current-state nil
"The current state for a drop.
***************
*** 865,871 ****
timestamp)
(x-dnd-forget-drop frame)))
! (t (error "Unknown Motif DND message %s %s" message data)))))
;;;
--- 868,874 ----
timestamp)
(x-dnd-forget-drop frame)))
! (t (error "Unknown Motif DND message %s %s" message-atom data)))))
;;;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/lisp/x-dnd.el,
Jan Djärv <=