From ea86b1075fad7cae57d37841e9c2b8f6da538e8e Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Thu, 24 May 2018 21:15:54 +0200 Subject: [PATCH] Fix doom-template-exists-p --- core/autoload/debug.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/autoload/debug.el b/core/autoload/debug.el index 82a7d9424..f53e5b33d 100644 --- a/core/autoload/debug.el +++ b/core/autoload/debug.el @@ -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"