summaryrefslogtreecommitdiff
path: root/lisp/dnd.el
diff options
context:
space:
mode:
authorJan Djärv <jan.h.d@swipnet.se>2006-09-07 10:12:51 +0000
committerJan Djärv <jan.h.d@swipnet.se>2006-09-07 10:12:51 +0000
commit1df4d4a85f86404cf69c4155289b925c23a652c0 (patch)
treecd613046453e7271d1186816ef00ced7910c2765 /lisp/dnd.el
parenteaf6d473fb4cfdb39f9e0bcdd3514b5382f93d84 (diff)
downloademacs-1df4d4a85f86404cf69c4155289b925c23a652c0.tar.gz
* dnd.el: Fix bootstrapping
Diffstat (limited to 'lisp/dnd.el')
-rw-r--r--lisp/dnd.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/dnd.el b/lisp/dnd.el
index 18a98957032..f1e1c6b1b9e 100644
--- a/lisp/dnd.el
+++ b/lisp/dnd.el
@@ -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)