Skip to content

Instantly share code, notes, and snippets.

@x5lcfd
Created November 8, 2019 14:15
Show Gist options
  • Save x5lcfd/55086b4270ddb13809d81cf8bc7ff666 to your computer and use it in GitHub Desktop.
Save x5lcfd/55086b4270ddb13809d81cf8bc7ff666 to your computer and use it in GitHub Desktop.

下完了记得改源

在文件 core-configuration-layer.el 里,

;; (defvar configuration-layer--elpa-archives
;;   '(("melpa" . "melpa.org/packages/")
;;     ("org"   . "orgmode.org/elpa/")
;;     ("gnu"   . "elpa.gnu.org/packages/"))
;;   ;; '(("spacelpa" . "~/.emacs.d/.cache/spacelpa/"))
;;   "List of ELPA archives required by Spacemacs.")

(defvar configuration-layer--elpa-archives
  '(("melpa" . "https://mirrors.tuna.tsinghua.edu.cn/elpa/melpa/")
    ("org"   . "https://mirrors.tuna.tsinghua.edu.cn/elpa/org/")
    ("gnu"   . "https://mirrors.tuna.tsinghua.edu.cn/elpa/gnu/"))
  ;; '(("spacelpa" . "~/.emacs.d/.cache/spacelpa/"))
  "List of ELPA archives required by Spacemacs.")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment