Fix doom//quickstart & improve feedback (make quickstart)

This commit is contained in:
Henrik Lissner 2018-05-25 12:49:23 +02:00
parent d7d9da2210
commit 73045f9950
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
3 changed files with 51 additions and 19 deletions

View file

@ -1,15 +1,10 @@
;;; core/autoload/debug.el -*- lexical-binding: t; -*-
(defun doom-template-exists-p (template)
"TODO"
(file-exists-p
(expand-file-name (format "templates/%s" template)
doom-core-dir)))
(defun doom-template-insert (template)
"TODO"
(let ((dir (expand-file-name "templates/" doom-core-dir)))
(insert-file-contents (expand-file-name template dir))))
(let ((file (expand-file-name (format "templates/%s" template) doom-core-dir)))
(when (file-exists-p file)
(insert-file-contents file))))
;;;###autoload
(defun doom-info ()