]> git.eshelyaron.com Git - emacs.git/commit
Fix dired drag-and-drop for certain Motif programs
authorPo Lu <luangruo@yahoo.com>
Sat, 28 May 2022 08:48:49 +0000 (16:48 +0800)
committerPo Lu <luangruo@yahoo.com>
Sat, 28 May 2022 08:49:56 +0000 (16:49 +0800)
commit6f1d5e59f3649de11555e57e9f629ee9e5b01b1a
tree87f7a7a5ce5e740f19591c9bfc304086303d9943
parent04a215849cddf21c9ae99b603b26fd02aad6fc73
Fix dired drag-and-drop for certain Motif programs

* lisp/dired.el (dired-mouse-drag): Announce _DT_NETFILE in
targets list as well.
* lisp/select.el (xselect--encode-string): New arg
`prefer-string-to-c-string'.
(xselect-convert-to-filename): Convert to TEXT instead of
C_STRING, but use STRING if the type would otherwise be
C_STRING.
(xselect-dt-netfile-available-p, xselect-tt-net-file)
(xselect-convert-to-dt-netfile): New functions.
(selection-converter-alist): New selection converter.
lisp/dired.el
lisp/select.el