Use user-emacs-directory instead of specifying one

This commit is contained in:
Jeremy Dormitzer 2019-01-28 08:32:24 -05:00
parent 34a6f2b959
commit 3503618af8

View File

@ -245,7 +245,7 @@ And this function persists a variable:
* Customization File
I don't want anything to write to my init.el, so save customizations in a separate file:
#+BEGIN_SRC emacs-lisp
(setq custom-file (expand-file-name "~/.emacs.d/custom.el"))
(setq custom-file (expand-file-name "custom.el" user-emacs-directory))
(load custom-file t)
#+END_SRC