diff --git a/.gitignore b/.gitignore index 97f7942..f0d9ea9 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,10 @@ # Ignore the temp files created by emacs. *.#* +################################################################################ +# EMACS +emacs/custom.el + ################################################################################ # VIM vim/backup/* @@ -15,4 +19,4 @@ vim/.netrwhist ################################################################################ # ZSH -zsh/transient/* \ No newline at end of file +zsh/transient/* diff --git a/emacs/init.el b/emacs/init.el index be7b799..e8988ed 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -310,6 +310,11 @@ executes. This function is mostly useful for variables that need to be set before packages are loaded. If you are unsure, you should try in setting them in `dotspacemacs/user-config' first." + + ;; Define Custom File. + (setq custom-file + (expand-file-name "custom.el" dotspacemacs-directory) + ) ) (defun dotspacemacs/user-config ()