Fix doom-template-exists-p

This commit is contained in:
Henrik Lissner 2018-05-24 21:15:54 +02:00
parent b70ed84a33
commit ea86b1075f
No known key found for this signature in database
GPG Key ID: 5F6C0EA160557395

View File

@ -2,7 +2,9 @@
(defun doom-template-exists-p (template)
"TODO"
(file-exists-p (expand-file-name "templates/" doom-core-dir)))
(file-exists-p
(expand-file-name (format "templates/%s" template)
doom-core-dir)))
(defun doom-template-insert (template)
"TODO"