From b1fa45f17dfaaddfe4e926c2b626e31717fda91f Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Wed, 28 Nov 2012 20:30:32 +0900 Subject: [PATCH] require url within download-file --- emacs.el | 1 + 1 file changed, 1 insertion(+) diff --git a/emacs.el b/emacs.el index 987b852..5af9d21 100644 --- a/emacs.el +++ b/emacs.el @@ -72,6 +72,7 @@ otherwise the path where the library installed." (defun download-file (url path &optional ok-if-already-exists) "Download file from URL and output to PATH." (or (ignore-errors + (require 'url) (url-copy-file url path ok-if-already-exists)