From 1828f2f6791181f57b334310fc175556835ec0ea Mon Sep 17 00:00:00 2001 From: Uko Kokņevičs Date: Sun, 9 Mar 2025 22:03:49 +0200 Subject: Add novice, incorporate top-level config --- init.el | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'init.el') diff --git a/init.el b/init.el index 9fd82d9..e507c4d 100644 --- a/init.el +++ b/init.el @@ -39,9 +39,6 @@ (user-init-file custom-file)) (apply fn args))) -(advice-add #'enable-command :around #'$adv-write-to-sane-paths) -(advice-add #'disable-command :around #'$adv-write-to-sane-paths) - (use-package files :defer t :custom @@ -76,6 +73,12 @@ (add-to-list 'load-path (expand-file-name "arkta" user-emacs-directory)) +(use-package novice + :defer t + :config + (advice-add #'enable-command :around #'$adv-write-to-sane-paths) + (advice-add #'disable-command :around #'$adv-write-to-sane-paths)) + ;; Improve Emacs security somewhat (setq gnutls-min-prime-bits 3072 gnutls-verify-error (and (fboundp 'gnutls-available-p) -- cgit v1.2.3