summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Roelli <charles@aurox.ch>2026-01-21 15:02:42 +0100
committerCharles Roelli <charles@aurox.ch>2026-01-21 15:02:42 +0100
commit568243e0d90d5b9390d5f85fd536ed197effebdf (patch)
treeb8ab213d112d6d3b6de4bba9ff822c2a08747cb0
parent3375b870c3b3a218e16da9506891e814fdf21077 (diff)
Use .emacs as source for Customize
-rw-r--r--.emacs16
-rw-r--r--custom.el15
2 files changed, 14 insertions, 17 deletions
diff --git a/.emacs b/.emacs
index 19f39be..05b9548 100644
--- a/.emacs
+++ b/.emacs
@@ -1,5 +1,17 @@
(require 'package)
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)
-(setq custom-file "~/Code/home/custom.el")
-(load custom-file)
(package-initialize)
+(custom-set-variables
+ ;; custom-set-variables was added by Custom.
+ ;; If you edit it by hand, you could mess it up, so be careful.
+ ;; Your init file should contain only one such instance.
+ ;; If there is more than one, they won't work right.
+ '(backup-directory-alist '(("." . "~/Backups")))
+ '(custom-file "~/Code/home/.emacs")
+ '(package-selected-packages '(ledger-mode)))
+(custom-set-faces
+ ;; custom-set-faces was added by Custom.
+ ;; If you edit it by hand, you could mess it up, so be careful.
+ ;; Your init file should contain only one such instance.
+ ;; If there is more than one, they won't work right.
+ )
diff --git a/custom.el b/custom.el
deleted file mode 100644
index f8a297c..0000000
--- a/custom.el
+++ /dev/null
@@ -1,15 +0,0 @@
-;;; -*- lexical-binding: t -*-
-(custom-set-variables
- ;; custom-set-variables was added by Custom.
- ;; If you edit it by hand, you could mess it up, so be careful.
- ;; Your init file should contain only one such instance.
- ;; If there is more than one, they won't work right.
- '(backup-directory-alist '(("." . "~/Backups")))
- '(custom-file "~/Code/home/custom.el")
- '(package-selected-packages '(ledger-mode)))
-(custom-set-faces
- ;; custom-set-faces was added by Custom.
- ;; If you edit it by hand, you could mess it up, so be careful.
- ;; Your init file should contain only one such instance.
- ;; If there is more than one, they won't work right.
- )