summaryrefslogtreecommitdiff
path: root/.config/emacs/init.el
diff options
context:
space:
mode:
authorJack Jamison <jjamison@litecoms.com>2026-05-28 15:33:51 -0400
committerJack Jamison <jjamison@litecoms.com>2026-05-28 15:33:51 -0400
commita2ae7b4ab3f577826b74ee0cce9667bfac306fb9 (patch)
treee45f78c985daf21e5a536c1136a149988cbc3128 /.config/emacs/init.el
parent8d71a22569315b56144799b96f7d2dec7cc0f1c9 (diff)
clean up config
Diffstat (limited to '.config/emacs/init.el')
-rw-r--r--.config/emacs/init.el9
1 files changed, 5 insertions, 4 deletions
diff --git a/.config/emacs/init.el b/.config/emacs/init.el
index b6e6b38..bb94a95 100644
--- a/.config/emacs/init.el
+++ b/.config/emacs/init.el
@@ -12,6 +12,7 @@
(unless package-archive-contents
(package-refresh-contents))
+;; ensure by default, use ensure nil when built in
(setq use-package-always-ensure t)
;; == custom lisp
@@ -19,6 +20,7 @@
;; == greener emacs
(use-package no-littering
+ :ensure nil ;; it's in lisp folder
:demand t)
;; garbage collection improvement
@@ -38,9 +40,9 @@
:diminish auto-revert-mode
:demand t)
-;; customize in different file
-(setq custom-file (expand-file-name "customs.el" user-emacs-directory))
-(load custom-file :no-error-if-file-is-missing)
+;; disable custom file, allow themes to be loaded without marking them safe
+(setq custom-file null-device)
+(setq custom-safe-themes t)
;; no lockfiles
(setq create-lockfiles nil)
@@ -271,7 +273,6 @@
:hook (after-init . savehist-mode))
(use-package stillness-mode
- :ensure nil
:init
(stillness-mode))