diff options
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/ChangeLog | 6 | ||||
-rw-r--r-- | lisp/dnd.el | 3 |
2 files changed, 6 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 2dcffc46a3a..7cd30f5be2e 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -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. 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) |