aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Colascione2012-11-15 15:28:27 -0800
committerDaniel Colascione2012-11-15 15:28:27 -0800
commitfaeafc0133e90bdd6e1df134e507201d6e3c7a38 (patch)
tree8cb7d38add9b41a13d9014f68231ee705e11bcfb
parent87288971055247833c83fe13fecdf06fef95cee7 (diff)
downloademacs-faeafc0133e90bdd6e1df134e507201d6e3c7a38.tar.gz
emacs-faeafc0133e90bdd6e1df134e507201d6e3c7a38.zip
Use right url-handler for drag-and-dropped files under Windows
-rw-r--r--lisp/ChangeLog7
-rw-r--r--lisp/term/w32-win.el2
2 files changed, 8 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index bd535894cdf..3273baad872 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,10 @@
12012-11-15 Daniel Colascione <dancol@dancol.org>
2
3 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
4 prefix instead of "file:" so that when FILE-NAME begins with "//"
5 (as it does when the target file is on a network share),
6 url-handler isn't confused.
7
12012-10-30 Glenn Morris <rgm@gnu.org> 82012-10-30 Glenn Morris <rgm@gnu.org>
2 9
3 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix. 10 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
diff --git a/lisp/term/w32-win.el b/lisp/term/w32-win.el
index ad6e1125027..224fb7c1442 100644
--- a/lisp/term/w32-win.el
+++ b/lisp/term/w32-win.el
@@ -116,7 +116,7 @@
116 "/") 116 "/")
117 "/"))) 117 "/")))
118 (dnd-handle-one-url window 'private 118 (dnd-handle-one-url window 'private
119 (concat "file:" file-name))) 119 (concat "file://" file-name)))
120 120
121(defun w32-drag-n-drop (event &optional new-frame) 121(defun w32-drag-n-drop (event &optional new-frame)
122 "Edit the files listed in the drag-n-drop EVENT. 122 "Edit the files listed in the drag-n-drop EVENT.