diff options
author | Alan Pearce | 2017-02-22 11:42:29 +0100 |
---|---|---|
committer | Alan Pearce | 2017-02-22 11:42:29 +0100 |
commit | 321bf7276b55ed9b26037514bda69b68fcd264e4 (patch) | |
tree | 7c8781d2a5c2615a508828dc1fb52635d4d50229 /tag-emacs | |
parent | 20a401b8d2b7ee5185e1a75530b273d2e98fe8af (diff) | |
download | dotfiles-321bf7276b55ed9b26037514bda69b68fcd264e4.tar.lz dotfiles-321bf7276b55ed9b26037514bda69b68fcd264e4.tar.zst dotfiles-321bf7276b55ed9b26037514bda69b68fcd264e4.zip |
Emacs: Use secure package archives
Diffstat (limited to 'tag-emacs')
-rw-r--r-- | tag-emacs/emacs.d/init.org | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org index ea48d27..0873f31 100644 --- a/tag-emacs/emacs.d/init.org +++ b/tag-emacs/emacs.d/init.org @@ -37,10 +37,11 @@ the buffer to be empty. #+BEGIN_SRC emacs-lisp (eval-and-compile - (setq package-archives '(("gnu" . "http://elpa.gnu.org/packages/") - ("marmalade" . "http://marmalade-repo.org/packages/") - ("melpa-stable" . "http://stable.melpa.org/packages/") - ("melpa" . "http://melpa.org/packages/")) + (setq tls-checktrust t + gnutls-verify-error t + package-archives '(("gnu" . "https://elpa.gnu.org/packages/") + ("melpa-stable" . "https://stable.melpa.org/packages/") + ("melpa" . "https://melpa.org/packages/")) package-user-dir (concat "~/.emacs.d/packages/" emacs-version "/elpa") package-pinned-packages '(("use-package" . melpa-stable) ("diminish" . melpa-stable) |