changeset 72689:3ff56e45c67f

* dnd.el: Fix bootstrapping
author Jan Djärv <jan.h.d@swipnet.se>
date Thu, 07 Sep 2006 10:12:51 +0000
parents 594e26e0c126
children 21e7b41532bb
files lisp/ChangeLog lisp/dnd.el
diffstat 2 files changed, 6 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Thu Sep 07 09:56:22 2006 +0000
+++ b/lisp/ChangeLog	Thu Sep 07 10:12:51 2006 +0000
@@ -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.
--- a/lisp/dnd.el	Thu Sep 07 09:56:22 2006 +0000
+++ b/lisp/dnd.el	Thu Sep 07 10:12:51 2006 +0000
@@ -34,8 +34,6 @@
 
 ;;; Customizable variables
 
-(eval-when-compile
-  (require 'url-handlers))
 
 ;;;###autoload
 (defcustom dnd-protocol-alist
@@ -198,6 +196,7 @@
 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)