Ensure doom-autoload-file directory exists first

This commit is contained in:
Henrik Lissner 2017-12-22 14:30:31 -05:00
parent 98e324b785
commit a5596c8923
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -578,6 +578,7 @@ This should be run whenever init.el or an autoload file is modified. Running
(t
"✓ Scanned %s"))
(file-relative-name file doom-emacs-dir)))
(make-directory (file-name-directory doom-autoload-file) t)
(let ((buf (get-file-buffer doom-autoload-file))
current-sexp)
(unwind-protect