|
|
@ -34,16 +34,17 @@ |
|
|
|
#+END_SRC |
|
|
|
|
|
|
|
#+BEGIN_SRC emacs-lisp |
|
|
|
(require 'package) |
|
|
|
(require 'package) |
|
|
|
|
|
|
|
;; bug before emacs 26.3 |
|
|
|
(setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3") |
|
|
|
(add-to-list 'package-archives '("elpa" . "https://elpa.gnu.org/packages/") t) |
|
|
|
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t) |
|
|
|
(add-to-list 'package-archives '("melpa-stable" . "https://stable.melpa.org/packages/") t) |
|
|
|
(add-to-list 'package-archives '("org" . "https://orgmode.org/elpa/") t) |
|
|
|
;; bug before emacs 26.3 |
|
|
|
(when (version< emacs-version "26.3") |
|
|
|
(setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3")) |
|
|
|
(add-to-list 'package-archives '("elpa" . "https://elpa.gnu.org/packages/") t) |
|
|
|
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t) |
|
|
|
(add-to-list 'package-archives '("melpa-stable" . "https://stable.melpa.org/packages/") t) |
|
|
|
(add-to-list 'package-archives '("org" . "https://orgmode.org/elpa/") t) |
|
|
|
|
|
|
|
(package-initialize) |
|
|
|
(package-initialize) |
|
|
|
#+END_SRC |
|
|
|
|
|
|
|
#+BEGIN_SRC emacs-lisp |
|
|
|