From fba38a2a9206349a4b85b39689bab81b38f4748a Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Wed, 28 Nov 2012 20:28:54 +0900 Subject: [PATCH] fix bug --- emacs.el | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/emacs.el b/emacs.el index 7a179a3..987b852 100644 --- a/emacs.el +++ b/emacs.el @@ -76,19 +76,21 @@ otherwise the path where the library installed." path ok-if-already-exists) path) - (ignore-errors - (let ((curl (executable-find "curl"))) - (when curl - (if (and (not ok-if-already-exists) - (file-exists-p path)) - nil - (eq 0 - (call-process curl - nil - nil - nil - "--output" - path)))))))) + (let ((curl (executable-find "curl"))) + (when curl + (if (and (not ok-if-already-exists) + (file-exists-p path)) + nil + (and (eq 0 + (call-process curl + nil + nil + nil + "--output" + path + url + )) + path)))))) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; autoload