-
Notifications
You must be signed in to change notification settings - Fork 0
/
global-settings.el
35 lines (25 loc) · 1 KB
/
global-settings.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
;;; global-settings.el --- Padraic's Emacs configuration -*- lexical-binding: t -*-
;; Copyright (C) 2023-2023 Patrick H Morris
;; Author: Patrick H Morris <[email protected]>
;; Keywords: internal
;; URL: https://github.com/Padraic-O-Mhuiris/emacs
;;; Commentary:
;; A fully fledged, reproducible Emacs configuration
;;; Code:
;; Assign user name and email
(setq user-full-name "Patrick H Morris"
user-mail-address "[email protected]")
;; Customization file not that I will use it
(let ((customization-file
(expand-file-name "custom.el" user-emacs-directory)))
(unless (file-exists-p customization-file)
(write-region "" nil customization-file))
(setq custom-file customization-file)
(load custom-file 'noerror))
;; Warn when opening files > 100MB
(setq large-file-warning-threshold 100000000)
;; Don't make backups
(setq make-backup-files nil)
;; Legacy weird writing thing from typewriters, prevent
(setq sentence-end-double-space nil)
(provide 'global-settings.el)