* lisp/x-dnd.el (x-dnd-handle-xds-drop): Expand file names
before use. Some GUI dialogs read un-expanded file names.
desired-name
(or file-name-coding-system
default-file-name-coding-system)))
- (setq save-to (funcall x-dnd-direct-save-function
- t desired-name))
+ (setq save-to (expand-file-name
+ (funcall x-dnd-direct-save-function
+ t desired-name)))
(when save-to
(with-selected-window window
(let ((uri (format "file://%s%s" (system-name) save-to)))