]> git.eshelyaron.com Git - emacs.git/commit
Clean up text/uri-list mess inside the Dired drag-and-drop code
authorPo Lu <luangruo@yahoo.com>
Wed, 1 Jun 2022 08:25:53 +0000 (16:25 +0800)
committerPo Lu <luangruo@yahoo.com>
Wed, 1 Jun 2022 08:25:53 +0000 (16:25 +0800)
commitf5fadbbfec8c8f5d66fe0169c92096743102990e
treea6ff21acff44d0c0d26922bbdf9b69c1ca676703
parenta3d3fef2bc60f05f30350ef1cc0bb66e8f7010c7
Clean up text/uri-list mess inside the Dired drag-and-drop code

* doc/lispref/frames.texi (Window System Selections):
* etc/NEWS: Document new changes to `gui-get-selection'.
* lisp/dired.el (dired-mouse-drag): Specify text/uri-list value
explicitly.
* lisp/select.el (gui-set-selection): Update doc string.
(xselect-convert-to-text-uri-list): Update to handle either a
single URL (as a string) or a vector of URLs, instead of file
names.
(xselect-uri-list-available-p): Likewise.
* src/xselect.c (x_get_local_selection): Look in tem's text
properties (if it is a string) for a local value before using
tem itself.
doc/lispref/frames.texi
etc/NEWS
lisp/dired.el
lisp/select.el
src/xselect.c