]> git.eshelyaron.com Git - emacs.git/commitdiff
* term/w32-win.el (dnd): Require dnd
authorJan Djärv <jan.h.d@swipnet.se>
Mon, 11 Apr 2005 19:25:58 +0000 (19:25 +0000)
committerJan Djärv <jan.h.d@swipnet.se>
Mon, 11 Apr 2005 19:25:58 +0000 (19:25 +0000)
 (w32-drag-n-drop): Call dnd-handle-one-url.

lisp/term/w32-win.el

index 69e5c0e793b7421c7007f63cbca111b07c652901..862f3fe1d0aaeeac849692f62fc2dcfba8cece21 100644 (file)
@@ -76,7 +76,7 @@
 (require 'faces)
 (require 'select)
 (require 'menu-bar)
-(require 'x-dnd)
+(require 'dnd)
 (require 'code-pages)
 
 ;; Conditional on new-fontset so bootstrapping works on non-GUI compiles
@@ -109,8 +109,8 @@ Switch to a buffer editing the last file dropped."
       (if (and (> x 0) (> y 0))
          (set-frame-selected-window nil window))
       (mapcar (lambda (file-name) 
-               (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)))