Mercurial > emacs
diff lisp/dnd.el @ 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 | eedaad0e9f80 |
children | 1c4d17d3a136 |
line wrap: on
line diff
--- 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)