summaryrefslogtreecommitdiff
path: root/lisp/files.el
diff options
context:
space:
mode:
authorPo Lu <luangruo@yahoo.com>2022-06-05 15:34:49 +0800
committerPo Lu <luangruo@yahoo.com>2022-06-05 15:38:23 +0800
commit6011d39b6a4bc659da364255bcae22c4e6ef3a3f (patch)
tree785eefe49cab4047016696287f4788be55e2a424 /lisp/files.el
parent993853531aebb303870d6ff1ba7db2007d464b63 (diff)
downloademacs-6011d39b6a4bc659da364255bcae22c4e6ef3a3f.tar.gz
emacs-6011d39b6a4bc659da364255bcae22c4e6ef3a3f.tar.bz2
emacs-6011d39b6a4bc659da364255bcae22c4e6ef3a3f.zip
Fix drag-and-drop of files with multibyte filenames
* lisp/dired.el (dired-mouse-drag): Fix re-signalling of errors. * lisp/select.el (xselect-convert-to-filename): (xselect-convert-to-text-uri-list): (xselect-convert-to-dt-netfile): Encode in raw-text-unix. * src/xgselect.c (suppress_xg_select, release_xg_select): New functions. (xg_select): Respect xg_select suppression by delegating to pselect. * src/xgselect.h: Update prototypes. * src/xterm.c (x_dnd_begin_drag_and_drop): Suppress xg_select during the nested event loop. (handle_one_xevent): Handle cases where hold_quit is nil inside a selection event handler during DND.
Diffstat (limited to 'lisp/files.el')
0 files changed, 0 insertions, 0 deletions