changeset 56853:f9d80356b497

* frames.texi (Drag and drop): Add documentation about x-dnd-test-function and x-dnd-known-types.
author Jan Djärv <jan.h.d@swipnet.se>
date Tue, 31 Aug 2004 11:32:03 +0000
parents 4504840779eb
children aca407ec32fc
files man/ChangeLog man/frames.texi
diffstat 2 files changed, 16 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/man/ChangeLog	Tue Aug 31 11:24:10 2004 +0000
+++ b/man/ChangeLog	Tue Aug 31 11:32:03 2004 +0000
@@ -1,3 +1,8 @@
+2004-08-31  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>
+
+	* frames.texi (Drag and drop): Add documentation about
+	x-dnd-test-function and x-dnd-known-types.
+
 2004-08-30  Luc Teirlinck  <teirllm@auburn.edu>
 
 	* indent.texi: Various minor changes in addition to:
--- a/man/frames.texi	Tue Aug 31 11:24:10 2004 +0000
+++ b/man/frames.texi	Tue Aug 31 11:32:03 2004 +0000
@@ -809,6 +809,17 @@
 copied or moved (depends on exactly how it is dragged and the application
 it was dragged from) to the directory the dired buffer is displaying.
 
+@vindex x-dnd-test-function
+@vindex x-dnd-known-types
+  When a user drags something from another application over Emacs, that other
+application expects Emacs to tell it if Emacs can handle the data that is
+dragged.  The variable @code{x-dnd-test-function} is used by Emacs to determine
+what to reply.  The default value is @code{x-dnd-default-test-function}
+which accepts drops if the type of the data to be dropped is present in
+@code{x-dnd-known-types}.  You can customize @code{x-dnd-test-function} and/or
+@code{x-dnd-known-types} if you want Emacs to accept or reject drops based
+on some other criteria.
+
 @vindex x-dnd-open-file-other-window
   A file is normally opened in the window it is dropped on, but if you
 prefer the file to be opened in a new window you can customize the variable