Commit 590bc75d authored by YAMAMOTO Mitsuharu's avatar YAMAMOTO Mitsuharu
Browse files

(dnd): Require dnd

(mac-drag-n-drop): Call dnd-handle-one-url.
parent a42bf890
......@@ -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)))))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment