瀏覽代碼

fix bug

pull/1/head
10sr 11 年之前
父節點
當前提交
fba38a2a92
共有 1 個文件被更改,包括 15 次插入13 次删除
  1. +15
    -13
      emacs.el

+ 15
- 13
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


Loading…
取消
儲存