From d055f5ef7d581fb1c3c5add796c3fae3b8635da3 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Sun, 5 Oct 2014 18:03:48 +0900 Subject: [PATCH] emacs.el: Fix typo in download-file --- emacs.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/emacs.el b/emacs.el index f5a0cbf..0bda6bc 100644 --- a/emacs.el +++ b/emacs.el @@ -80,11 +80,11 @@ IF OK-IF-ALREADY-EXISTS is true force download." (let ((curl (executable-find "curl")) (wget (executable-find "wget"))) (cond (wget - (if (and (not of-if-already-exists) + (if (and (not ok-if-already-exists) (file-exists-p path)) nil (and (eq 0 - (call-process curl + (call-process wget nil nil nil