Pass no-error to (load) to handle custom.el not found

This commit is contained in:
Jeremy Dormitzer 2019-01-28 08:29:39 -05:00
parent 12856e4dc9
commit 34a6f2b959

View File

@ -246,8 +246,7 @@ And this function persists a variable:
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"))
(when (file-exists-p custom-file)
(load custom-file))
(load custom-file t)
#+END_SRC
* Dropbox