Commit 6379086a authored by David Sveningsson's avatar David Sveningsson
Browse files

emacs: fix libgnutls-version issue

parent b7b8ba1c
......@@ -2,7 +2,7 @@
#+PROPERTY: header-args :comments yes :results silent
* Repos
#+BEGIN_SRC emacs-lisp
(if (and (version< emacs-version "26.3") (>= libgnutls-version 30600))
(if (and (version< emacs-version "26.3") (boundp 'libgnutls-version) (>= libgnutls-version 30600))
(setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3"))
(when (< emacs-major-version 27)
(require 'package))
......
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