From 1df4d4a85f86404cf69c4155289b925c23a652c0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20Dj=C3=A4rv?= Date: Thu, 7 Sep 2006 10:12:51 +0000 Subject: [PATCH] * dnd.el: Fix bootstrapping --- lisp/ChangeLog | 6 +++++- 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 +2006-09-07 Jan Dj,Ad(Brv + + * dnd.el: Fix bootstrapping. + +2006-09-07 Jan Dj,Ad(Brv * 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) -- 2.39.2