summaryrefslogtreecommitdiff
path: root/.emacs.d/init.el
blob: 1e9f80ed328673a26cd99b6c8090fcf5a01723a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
;;; init.el --- bootstrap Sean's Emacs configuration -*- no-byte-compile: t -*-

;;; Code:

;; don't accept invalid SSL certs or small primes
(with-eval-after-load 'gnutls
  (setq gnutls-verify-error t
        gnutls-min-prime-bits 1024))

(with-eval-after-load 'nsm
  (setq network-security-level 'paranoid))

;; seems to be needed to make HTTPS connections on Debian buster (at least)
(setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3")

(setq load-prefer-newer t)

(when (< emacs-major-version 27)
  (package-initialize))

(load (concat user-emacs-directory "init-spw"))

;;; init.el ends here