aboutsummaryrefslogtreecommitdiffstats
path: root/java/org/gnu
diff options
context:
space:
mode:
authorPo Lu2023-10-28 06:42:48 +0000
committerPo Lu2023-10-28 06:42:48 +0000
commit897cc73c88a9da0a2477f1e61501b907eb877a5b (patch)
treeb19e02857795bb74a335fc8b965e24768beea787 /java/org/gnu
parent6b229ffc6f32b111bf11242080d98022758b43e0 (diff)
downloademacs-897cc73c88a9da0a2477f1e61501b907eb877a5b.tar.gz
emacs-897cc73c88a9da0a2477f1e61501b907eb877a5b.zip
Render default DND file name handlers more precise
* lisp/dnd.el (dnd-protocol-alist): Redefine file name handlers to match solely the local or remote URIs they understand. (dnd-handle-multiple-urls): Prevent calling the same handler multiple times for a single URI. * lisp/gnus/mml.el (mml-dnd-protocol-alist): Apply an anologous adjustment here. Delete now redundant redefinition of dnd-open-file. (mml-dnd-attach-file): Inquire whether to apply the default disposition and such only once even if more than one file is dropped. * test/lisp/dnd-tests.el (dnd-tests-receive-multiple-urls) (dnd-tests-default-file-name-handlers): New tests.
Diffstat (limited to 'java/org/gnu')
0 files changed, 0 insertions, 0 deletions