]> git.eshelyaron.com Git - emacs.git/commitdiff
(dnd): Require dnd
authorYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Tue, 12 Apr 2005 09:01:36 +0000 (09:01 +0000)
committerYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Tue, 12 Apr 2005 09:01:36 +0000 (09:01 +0000)
(mac-drag-n-drop): Call dnd-handle-one-url.

lisp/term/mac-win.el

index cdf81f02ce29544afe1596b93f16969cdae99c9a..ae2003fcee24078bcaa63eb5859ef5f7c5c2fd7e 100644 (file)
@@ -77,7 +77,7 @@
 ;;(require 'select)
 (require 'menu-bar)
 (require 'fontset)
-(require 'x-dnd)
+(require 'dnd)
 
 (defvar x-invocation-args)
 
@@ -1648,8 +1648,8 @@ Switch to a buffer editing the last file dropped."
                      (if (and (> start 0) (> end 0))
                          (progn (set-mark start)
                                 (goto-char end)))))
-               (x-dnd-handle-one-url window 'private
-                                     (concat "file:" file-name))))
+               (dnd-handle-one-url window 'private
+                                   (concat "file:" file-name))))
            (car (cdr (cdr event)))))
   (raise-frame))