Skip to content

Commit

Permalink
feat: remove proxy when bootstraping straight
Browse files Browse the repository at this point in the history
  • Loading branch information
xhcoding committed Dec 10, 2023
1 parent db59b90 commit ecb8221
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions README.org
Original file line number Diff line number Diff line change
Expand Up @@ -225,11 +225,6 @@ Emacs 启动过程的早期加载。
(expand-file-name "straight/repos/straight.el/bootstrap.el" user-emacs-directory))
(bootstrap-version 6))
(unless (file-exists-p bootstrap-file)
(let ((proxy (or (getenv "PROXY") "127.0.0.1:7890")))
(setq url-proxy-services
`(("http" . ,proxy)
("https" . ,proxy)
("no_proxy" . "0.0.0.0"))))
(with-current-buffer
(url-retrieve-synchronously
"https://raw.githubusercontent.com/radian-software/straight.el/develop/install.el"
Expand Down

0 comments on commit ecb8221

Please sign in to comment.