emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/term/mac-win.el, v [EMACS_22_BASE]


From: YAMAMOTO Mitsuharu
Subject: [Emacs-diffs] Changes to emacs/lisp/term/mac-win.el, v [EMACS_22_BASE]
Date: Sun, 16 Mar 2008 09:15:39 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Branch:         EMACS_22_BASE
Changes by:     YAMAMOTO Mitsuharu <mituharu>   08/03/16 09:15:39

Index: mac-win.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/term/mac-win.el,v
retrieving revision 1.88.2.6
retrieving revision 1.88.2.7
diff -u -b -r1.88.2.6 -r1.88.2.7
--- mac-win.el  7 Jan 2008 02:18:53 -0000       1.88.2.6
+++ mac-win.el  16 Mar 2008 09:15:38 -0000      1.88.2.7
@@ -2117,7 +2117,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."




reply via email to

[Prev in Thread] Current Thread [Next in Thread]