diff options
| author | Jan Djärv | 2004-08-31 11:32:03 +0000 |
|---|---|---|
| committer | Jan Djärv | 2004-08-31 11:32:03 +0000 |
| commit | bd9d61d42e556feec8da90df496ff60c55c09aa1 (patch) | |
| tree | 83459385ab1d8d4a75166c9253d92885d85c19f9 /man/frames.texi | |
| parent | 7a01b040852e9b361cedf14efca552e5a7fd28ca (diff) | |
| download | emacs-bd9d61d42e556feec8da90df496ff60c55c09aa1.tar.gz emacs-bd9d61d42e556feec8da90df496ff60c55c09aa1.zip | |
* frames.texi (Drag and drop): Add documentation about
x-dnd-test-function and x-dnd-known-types.
Diffstat (limited to 'man/frames.texi')
| -rw-r--r-- | man/frames.texi | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/man/frames.texi b/man/frames.texi index 50b6a4ed398..dee050922e6 100644 --- a/man/frames.texi +++ b/man/frames.texi | |||
| @@ -809,6 +809,17 @@ As a special case, if a file is dropped on a dired buffer the file is | |||
| 809 | copied or moved (depends on exactly how it is dragged and the application | 809 | copied or moved (depends on exactly how it is dragged and the application |
| 810 | it was dragged from) to the directory the dired buffer is displaying. | 810 | it was dragged from) to the directory the dired buffer is displaying. |
| 811 | 811 | ||
| 812 | @vindex x-dnd-test-function | ||
| 813 | @vindex x-dnd-known-types | ||
| 814 | When a user drags something from another application over Emacs, that other | ||
| 815 | application expects Emacs to tell it if Emacs can handle the data that is | ||
| 816 | dragged. The variable @code{x-dnd-test-function} is used by Emacs to determine | ||
| 817 | what to reply. The default value is @code{x-dnd-default-test-function} | ||
| 818 | which accepts drops if the type of the data to be dropped is present in | ||
| 819 | @code{x-dnd-known-types}. You can customize @code{x-dnd-test-function} and/or | ||
| 820 | @code{x-dnd-known-types} if you want Emacs to accept or reject drops based | ||
| 821 | on some other criteria. | ||
| 822 | |||
| 812 | @vindex x-dnd-open-file-other-window | 823 | @vindex x-dnd-open-file-other-window |
| 813 | A file is normally opened in the window it is dropped on, but if you | 824 | A file is normally opened in the window it is dropped on, but if you |
| 814 | prefer the file to be opened in a new window you can customize the variable | 825 | prefer the file to be opened in a new window you can customize the variable |