Commit 7aaefea7 authored by David Sveningsson's avatar David Sveningsson
Browse files

emacs: handle older versions better

parent 33950c5a
......@@ -2,6 +2,10 @@
#+PROPERTY: header-args :comments yes :results silent
* Repos
#+BEGIN_SRC emacs-lisp
(if (and (version< emacs-version "26.3") (>= libgnutls-version 30600))
(setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3"))
(when (< emacs-major-version 27)
(require 'package))
(add-to-list 'package-archives '("melpa" . ""))
(add-to-list 'package-archives '("org" . "") t)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment