aboutsummaryrefslogtreecommitdiffstats
path: root/init.el
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2020-08-06 11:45:42 -0500
committerJesús <heckyel@hyperbola.info>2020-08-06 11:45:42 -0500
commit7feda7ff72f76a13c2fe5764ce928ca39b268242 (patch)
tree832e83f42f83fe79cdf7a3723de2c5c3b64d1687 /init.el
parentb2e37932286490acfbc7e70b4b1ce558927b81fa (diff)
downloademacs-personal-7feda7ff72f76a13c2fe5764ce928ca39b268242.tar.lz
emacs-personal-7feda7ff72f76a13c2fe5764ce928ca39b268242.tar.xz
emacs-personal-7feda7ff72f76a13c2fe5764ce928ca39b268242.zip
Fix algoritm version previous to 26.x
Diffstat (limited to 'init.el')
-rw-r--r--init.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/init.el b/init.el
index 7f37a5f..4a9e578 100644
--- a/init.el
+++ b/init.el
@@ -13,7 +13,8 @@
(setq package-check-signature 'allow-unsigned)
;;; Fix TLS emacs 26.x
-(setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3")
+(if (version< "26.0" emacs-version)
+ (setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3"))
;;; Welcome message
(setq-default initial-scratch-message