summary refs log tree commit diff stats
path: root/machines/windows-nt.el
blob: a95754e33fb5bf655b833aaa3d5a1d6f6b4de18b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
;;; windows.el --- Windows settings! -*- lexical-binding: t; -*-

;; Annoying gnu-tls bug; I "always" trust the certificate anyway, so let's be
;; insecure.
(setq network-security-level 'low
      debug-on-error t)

;; Fonts

(setq machine-default-font "Cascadia Mono"
      machine-default-height 90
      machine-variable-pitch-font "Carlito"
      machine-variable-pitch-height 1.2)

;; Add C:\Program Files\* and C:\Program Files (x86)\* to exec-path
(dolist (path (append (file-expand-wildcards "C:/Program Files/*")
                      (file-expand-wildcards "c:/Program Files (x86)/*")
                      ;; Others...
                      (save-match-data
                        (split-string (getenv "PATH") ";" t))))
  (add-to-list 'exec-path path :append))

;;; windows.el ends here