Commit bd5bbffe authored by Jan Djärv's avatar Jan Djärv
Browse files

Typo

parent 8b0c0b84
...@@ -803,29 +803,29 @@ buffers are scrolled. ...@@ -803,29 +803,29 @@ buffers are scrolled.
Emacs supports drag and drop so that dropping of files and text is handeled. Emacs supports drag and drop so that dropping of files and text is handeled.
Currently supported drag and drop protocols are XDND and the old KDE 1.x Currently supported drag and drop protocols are XDND and the old KDE 1.x
protocol. There is no drag support yet. protocol. There is no drag support yet.
When text is dropped, Emacs inserts the text where it is dropped. When text is dropped on Emacs, Emacs inserts the text where it is dropped.
When a file is dragged from a file manager to Emacs, Emacs opens that file. When a file is dragged from a file manager to Emacs, Emacs opens that file.
As a special case, if a file is dropped on a dired buffer the file is As a special case, if a file is dropped on a dired buffer the file is
copied or moved (depends on exactly how it is dragged and the application copied or moved (depends on exactly how it is dragged and the application
is was dragged from) to the directory the dired buffer is displaying. it was dragged from) to the directory the dired buffer is displaying.
@vindex x-dnd-open-file-other-window @vindex x-dnd-open-file-other-window
A file is normally opened in the window it is dropped on, but if you 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 prefer the file to be opened in a new window you can customize the variable
@code{x-dnd-open-file-other-window}. @code{x-dnd-open-file-other-window}.
@vindex x-dnd-types-alist @vindex x-dnd-types-alist
If you want to change the way Emacs handles drop of different types, If you want to change the way Emacs handles drop of different types
or add a new type, you shall customize @code{x-dnd-types-alist}. This or add a new type, you shall customize @code{x-dnd-types-alist}. This
requires detailed knowledge of what types other applications use requires detailed knowledge of what types other applications use
for drag and drop. for drag and drop.
@vindex x-dnd-protocol-alist @vindex x-dnd-protocol-alist
When an URL is dropped on Emacs, it may be a file, but it may also be When an URL is dropped on Emacs it may be a file, but it may also be
another URL type (ftp, http, etc.). Emacs first checks another URL type (ftp, http, etc.). Emacs first checks
@code{x-dnd-protocol-alist} to determine what to do with the URL. If there @code{x-dnd-protocol-alist} to determine what to do with the URL. If there
is no match there, and if @code{browse-url-browser-function} is an alist, is no match there and if @code{browse-url-browser-function} is an alist,
Emacs looks for a match there. If no match is found, the text for the URL Emacs looks for a match there. If no match is found the text for the URL
is inserted. If you want to alter Emacs behaviour you can customize these is inserted. If you want to alter Emacs behaviour you can customize these
variables. variables.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment