diff options
| -rw-r--r-- | lisp/ChangeLog | 23 | ||||
| -rw-r--r-- | lisp/term/w32-win.el | 8 |
2 files changed, 31 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index c8054a5dd76..9d589c693a0 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,26 @@ | |||
| 1 | 2006-05-20 Masayuki FUJII <boochang@m4.kcn.ne.jp> (tiny change) | ||
| 2 | |||
| 3 | * dnd.el (dnd-get-local-file-name): Specify LITERAL in | ||
| 4 | replace-regexp-in-string. | ||
| 5 | |||
| 6 | * term/w32-win.el (w32-drag-n-drop): Substitute '/' for '\', | ||
| 7 | encode, and escape file name on conversion to URL. | ||
| 8 | |||
| 9 | 2006-05-20 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | ||
| 10 | |||
| 11 | * dnd.el (dnd-handle-one-url): Change 3rd arg ARG to URL. Don't | ||
| 12 | unescape URL. | ||
| 13 | (dnd-get-local-file-name): Unescape URL on conversion to file name. | ||
| 14 | |||
| 15 | * x-dnd.el (x-dnd-handle-file-name): Encode and escape file names | ||
| 16 | on conversion to URLs. | ||
| 17 | |||
| 18 | * net/browse-url.el (browse-url-file-url): Encode file name on | ||
| 19 | conversion to URL. | ||
| 20 | |||
| 21 | * term/mac-win.el (mac-ae-open-documents): Escape file name on | ||
| 22 | conversion to URL. | ||
| 23 | |||
| 1 | 2006-05-19 Eli Zaretskii <eliz@gnu.org> | 24 | 2006-05-19 Eli Zaretskii <eliz@gnu.org> |
| 2 | 25 | ||
| 3 | * progmodes/cc-styles.el (c-style-alist): Doc fix. | 26 | * progmodes/cc-styles.el (c-style-alist): Doc fix. |
diff --git a/lisp/term/w32-win.el b/lisp/term/w32-win.el index 3987ad66f6a..31a794eeaa1 100644 --- a/lisp/term/w32-win.el +++ b/lisp/term/w32-win.el | |||
| @@ -112,6 +112,14 @@ Switch to a buffer editing the last file dropped." | |||
| 112 | (if (and (> x 0) (> y 0)) | 112 | (if (and (> x 0) (> y 0)) |
| 113 | (set-frame-selected-window nil window)) | 113 | (set-frame-selected-window nil window)) |
| 114 | (mapcar (lambda (file-name) | 114 | (mapcar (lambda (file-name) |
| 115 | (let ((f (subst-char-in-string ?\\ ?/ file-name)) | ||
| 116 | (coding (or file-name-coding-system | ||
| 117 | default-file-name-coding-system))) | ||
| 118 | (setq file-name | ||
| 119 | (mapconcat 'url-hexify-string | ||
| 120 | (split-string (encode-coding-string f coding) | ||
| 121 | "/") | ||
| 122 | "/"))) | ||
| 115 | (dnd-handle-one-url window 'private | 123 | (dnd-handle-one-url window 'private |
| 116 | (concat "file:" file-name))) | 124 | (concat "file:" file-name))) |
| 117 | (car (cdr (cdr event))))) | 125 | (car (cdr (cdr event))))) |