[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/term/mac-win.el,v
From: |
Miles Bader |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/term/mac-win.el,v |
Date: |
Sat, 05 Apr 2008 23:01:34 +0000 |
CVSROOT: /cvsroot/emacs
Module name: emacs
Changes by: Miles Bader <miles> 08/04/05 23:01:26
Index: lisp/term/mac-win.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/term/mac-win.el,v
retrieving revision 1.109
retrieving revision 1.110
diff -u -b -r1.109 -r1.110
--- lisp/term/mac-win.el 15 Feb 2008 23:44:52 -0000 1.109
+++ lisp/term/mac-win.el 5 Apr 2008 23:01:25 -0000 1.110
@@ -2197,7 +2197,9 @@
(defun mac-service-open-file ()
"Open the file specified by the selection value for Services."
(interactive)
- (find-file-existing (x-selection-value mac-service-selection)))
+ ;; The selection seems not to contain the file name as
+ ;; public.utf16-plain-text data on Mac OS X 10.4.
+ (dnd-open-file (x-get-selection mac-service-selection 'public.file-url) nil))
(defun mac-service-open-selection ()
"Create a new buffer containing the selection value for Services."
- [Emacs-diffs] Changes to emacs/lisp/term/mac-win.el,v,
Miles Bader <=