Skip to content

Commit

Permalink
修改源和下载时限
Browse files Browse the repository at this point in the history
  • Loading branch information
c authored and c committed Nov 2, 2019
1 parent 40375c6 commit be29168
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions init.el
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ values."
;; (default t)
dotspacemacs-elpa-https t
;; Maximum allowed time in seconds to contact an ELPA repository.
dotspacemacs-elpa-timeout 5
dotspacemacs-elpa-timeout 300
;; If non nil then spacemacs will check for updates at startup
;; when the current branch is not `develop'. Note that checking for
;; new versions works via git commands, thus it calls GitHub services
Expand Down Expand Up @@ -363,12 +363,10 @@ executes.
This function is mostly useful for variables that need to be set
before packages are loaded. If you are unsure, you should try in setting them in
`dotspacemacs/user-config' first."
(setq configuration-layer--elpa-archives
'(("melpa" . "https://melpa.org/packages/")
("melpa-cn" . "http://elpa.emacs-china.org/melpa/")
("org-cn" . "http://elpa.emacs-china.org/org/")
("gnu-cn" . "http://elpa.emacs-china.org/gnu/")
))
(setq configuration-layer-elpa-archives
'(("melpa-cn" . "https://elpa.emacs-china.org/melpa/")
("org-cn" . "https://elpa.emacs-china.org/org/")
("gnu-cn" . "https://elpa.emacs-china.org/gnu/")))
(setq tramp-ssh-controlmaster-options
"-o ControlMaster=auto -o ControlPath='tramp.%%C' -o ControlPersist=no")
;; ss proxy. But it will cause anacond-mode failed.
Expand Down

0 comments on commit be29168

Please sign in to comment.