From 38f86f5ddbff34a851ca5547450f4f7d62c4eb25 Mon Sep 17 00:00:00 2001 From: Gregorio Reyes Date: Sat, 11 Nov 2023 11:16:12 -0600 Subject: [PATCH] Move customization variables to a separate file --- init.el | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/init.el b/init.el index d40d81d..4c2dd6c 100644 --- a/init.el +++ b/init.el @@ -328,16 +328,7 @@ (use-package visual-fill-column :hook (org-mode . kempii/org-mode-visual-fill)) -(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 - '(blacken which-key visual-fill-column use-package rainbow-delimiters py-autopep8 org-bullets magit ivy-rich hydra highlight-indent-guides helpful general elpy doom-themes doom-modeline counsel-projectile command-log-mode all-the-icons))) -(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. - ) + +;;Move customization variables to a separate file and load it +(setq custom-file (locate-user-emacs-file "custom-vars.el")) +(load custom-file 'noerror 'nomessage)