diff options
| author | Charles Roelli <charles@aurox.ch> | 2026-01-21 14:56:31 +0100 |
|---|---|---|
| committer | Charles Roelli <charles@aurox.ch> | 2026-01-21 14:56:31 +0100 |
| commit | 3375b870c3b3a218e16da9506891e814fdf21077 (patch) | |
| tree | dd841213b2b952a0ced38395a064e2e4724fb430 | |
| parent | 05998976e53cc19b958aa03cb06beaab8bc79e9b (diff) | |
Use a separate custom.el file
| -rw-r--r-- | .emacs | 14 | ||||
| -rw-r--r-- | custom.el | 15 |
2 files changed, 17 insertions, 12 deletions
@@ -1,15 +1,5 @@ (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. - '(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 new file mode 100644 index 0000000..f8a297c --- /dev/null +++ b/custom.el @@ -0,0 +1,15 @@ +;;; -*- 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. + ) |
