2001-09-04 Andrew Choi <akochoi@cse.cuhk.edu.hk>
* term/mac-win.el (mac-drag-n-drop): Decode file name by consulting the value of file-name-coding-system.
This commit is contained in:
parent
2ee1aa00ea
commit
ae355fa64a
2 changed files with 13 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2001-09-04 Andrew Choi <akochoi@cse.cuhk.edu.hk>
|
||||
|
||||
* term/mac-win.el (mac-drag-n-drop): Decode file name by
|
||||
consulting the value of file-name-coding-system.
|
||||
|
||||
2001-09-03 Stefan Monnier <monnier@cs.yale.edu>
|
||||
|
||||
* help.el (describe-function-1): Save precomputed `file-name' rather
|
||||
|
|
|
@ -150,7 +150,14 @@ Switch to a buffer editing the last file dropped."
|
|||
(y (cdr coords)))
|
||||
(if (and (> x 0) (> y 0))
|
||||
(set-frame-selected-window nil window))
|
||||
(mapcar 'find-file (car (cdr (cdr event)))))
|
||||
(mapcar
|
||||
'(lambda (file)
|
||||
(find-file
|
||||
(decode-coding-string
|
||||
file
|
||||
(or file-name-coding-system
|
||||
default-file-name-coding-system))))
|
||||
(car (cdr (cdr event)))))
|
||||
(raise-frame)
|
||||
(recenter)))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue