* dnd.el: Fix bootstrapping
This commit is contained in:
parent
eaf6d473fb
commit
1df4d4a85f
2 changed files with 6 additions and 3 deletions
|
@ -1,4 +1,8 @@
|
|||
2006-09-07 Jan Dj,Ad(Brv <Janjan.h.d@swipnet.se>
|
||||
2006-09-07 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
|
||||
|
||||
* dnd.el: Fix bootstrapping.
|
||||
|
||||
2006-09-07 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
|
||||
|
||||
* dnd.el (dnd-protocol-alist): Add what url-handler-mode can handle.
|
||||
(dnd-open-remote-url): New function.
|
||||
|
|
|
@ -34,8 +34,6 @@
|
|||
|
||||
;;; Customizable variables
|
||||
|
||||
(eval-when-compile
|
||||
(require 'url-handlers))
|
||||
|
||||
;;;###autoload
|
||||
(defcustom dnd-protocol-alist
|
||||
|
@ -198,6 +196,7 @@ Turns `url-handler-mode' on if not on before. The file is opened in the
|
|||
current window, or a new window if `dnd-open-file-other-window' is set.
|
||||
URI is the url for the file. ACTION is ignored."
|
||||
(progn
|
||||
(require 'url-handlers)
|
||||
(or url-handler-mode (url-handler-mode))
|
||||
(if dnd-open-file-other-window
|
||||
(find-file-other-window uri)
|
||||
|
|
Loading…
Add table
Reference in a new issue