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)