Use right url-handler for drag-and-dropped files under Windows
This commit is contained in:
parent
8728897105
commit
faeafc0133
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,10 @@
|
|||
2012-11-15 Daniel Colascione <dancol@dancol.org>
|
||||
|
||||
* term/w32-win.el (w32-handle-dropped-file): Use a "file://"
|
||||
prefix instead of "file:" so that when FILE-NAME begins with "//"
|
||||
(as it does when the target file is on a network share),
|
||||
url-handler isn't confused.
|
||||
|
||||
2012-10-30 Glenn Morris <rgm@gnu.org>
|
||||
|
||||
* emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
|
||||
|
|
|
@ -116,7 +116,7 @@
|
|||
"/")
|
||||
"/")))
|
||||
(dnd-handle-one-url window 'private
|
||||
(concat "file:" file-name)))
|
||||
(concat "file://" file-name)))
|
||||
|
||||
(defun w32-drag-n-drop (event &optional new-frame)
|
||||
"Edit the files listed in the drag-n-drop EVENT.
|
||||
|
|
Loading…
Add table
Reference in a new issue