]> git.eshelyaron.com Git - emacs.git/commit
Allow immediately saving XDS drops
authorPo Lu <luangruo@yahoo.com>
Tue, 5 Jul 2022 06:55:24 +0000 (14:55 +0800)
committerPo Lu <luangruo@yahoo.com>
Tue, 5 Jul 2022 06:56:17 +0000 (14:56 +0800)
commit6dfe33297180765935858855ce4bd1934f533bb0
tree4538c1a99c2916292ffc7adf2b5571d6ce362669
parent59206529a17a8ae976072d8306882c4ff37a2fbd
Allow immediately saving XDS drops

This fixes things with programs that have a very timeout, such
as Chromium, within which it isn't practical for the user to
confirm the default file name.

* lisp/x-dnd.el (x-dnd-direct-save-function): Add new choices to
defcustom.
(x-dnd-init-frame): Use fast protocol requests.
(x-dnd-save-direct-immediately): New function.
(x-dnd-handle-xds-drop): Fix nil values of selected file name.
lisp/x-dnd.el