mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-27 07:41:28 -08:00
(dnd): Require dnd
(mac-drag-n-drop): Call dnd-handle-one-url.
This commit is contained in:
parent
a42bf89089
commit
590bc75d28
1 changed files with 3 additions and 3 deletions
|
|
@ -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))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue