Fix 'doom compile' error when compiling templates

This commit is contained in:
Henrik Lissner 2019-12-20 05:01:44 -05:00
parent e0bd046339
commit 6d40f30a0a
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
4 changed files with 3 additions and 2 deletions

View file

@ -27,6 +27,7 @@ and your private config files, respectively. To recompile your packages, use
(let ((filename (file-name-nondirectory path)))
(or (string-prefix-p "." filename)
(string-prefix-p "test-" filename)
(string-suffix-p ".example.el" filename)
(not (equal (file-name-extension path) "el"))
(member filename (list "packages.el" "doctor.el")))))