Browse Source

Only set TLS on Windows

master
Macoy Madson 1 year ago
parent
commit
f7b8f219db
  1. 3
      Emacs/packages.el

3
Emacs/packages.el

@ -3,7 +3,8 @@
(require 'seq)
;; Hack to get Melpa to work on Windows
(setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3")
(when (eq system-type 'windows-nt)
(setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3"))
;; Enable MELPA
(require 'package)

Loading…
Cancel
Save