diff --git a/init.el b/init.el index 03c9bd3..5d70388 100644 --- a/init.el +++ b/init.el @@ -12,6 +12,11 @@ (setopt use-package-check-before-init t use-package-enable-imenu-support t) +(setq custom-file (locate-user-emacs-file "custom.el")) +(when (and custom-file + (file-exists-p custom-file)) + (load custom-file nil 'nomessage)) + (use-package package :custom (package-archive-priorities '(("melpa" . 1) ("stable" . 2) ("nongnu" . 3) ("gnu" . 4))) @@ -29,20 +34,12 @@ treesit-auto magit forge flymake-popon flymake-shellcheck flymake-yamllint flymake-clippy flymake-eslint apheleia envrc rainbow-delimiters aggressive-indent python-docstring nix-mode lua-mode ;; Writing - org-roam org-noter citar citar-embark - markdown-mode pandoc-mode auctex htmlize - ;; Other - password-store emms bbdb ement elfeed elfeed-org)) + markdown-mode pandoc-mode auctex htmlize)) :config (add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/")) (add-to-list 'package-archives '("stable" . "https://stable.melpa.org/packages/")) (package-initialize)) -(setq custom-file (locate-user-emacs-file "custom.el")) -(when (and custom-file - (file-exists-p custom-file)) - (load custom-file nil 'nomessage)) - (set-default-coding-systems 'utf-8) (setq user-full-name "Evie Litherland-Smith"