aboutsummaryrefslogtreecommitdiffstats
path: root/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'init.el')
-rw-r--r--init.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/init.el b/init.el
index 68cbc96..6011957 100644
--- a/init.el
+++ b/init.el
@@ -10,9 +10,9 @@
;;; Time Mark
(setq emacs-load-start-time (current-time))
-;;; Fix TLS emacs 26.x
-(if (version<= emacs-version "26.2")
- (setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3"))
+;;; Fix TLS for Emacs 26/27 (GnuTLS TLS 1.3 handshake bug on Debian/Ubuntu)
+(when (version< emacs-version "28")
+ (setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3"))
;;; Welcome message
(setq-default initial-scratch-message