]> git.eshelyaron.com Git - emacs.git/commit
Add user options to move point and scroll window during DND
authorPo Lu <luangruo@yahoo.com>
Sun, 3 Apr 2022 01:14:24 +0000 (09:14 +0800)
committerPo Lu <luangruo@yahoo.com>
Sun, 3 Apr 2022 01:14:24 +0000 (09:14 +0800)
commit1694f82e5f91f1ea96604c7c0aee4537fbada765
tree57940412128e124204b052e15c185f799ca89f3f
parent4afd34edd34ef734eda36efda08add5566a72fd9
Add user options to move point and scroll window during DND

* doc/emacs/frames.texi (Drag and Drop):
* etc/NEWS: Document new options 'dnd-scroll-margin' and
'dnd-indicate-insertion-point'.
* lisp/dnd.el (dnd-protocol-alist):
(dnd-open-remote-file-function):
(dnd-open-file-other-window): Add right group to defcustoms.
(dnd-scroll-margin, dnd-indicate-insertion-point): New user
options.
(dnd-handle-movement): New function.
* lisp/x-dnd.el (x-dnd-handle-xdnd):
(x-dnd-handle-motif): Call `dnd-handle-movement' when
appropriate.
doc/emacs/frames.texi
etc/NEWS
lisp/dnd.el
lisp/x-dnd.el