feature/file-templates: +file-templates--expand shouldn't be interactive

This commit is contained in:
Henrik Lissner 2017-03-02 01:44:31 -05:00
parent 2d190fe0c5
commit 75585fa90f

View file

@ -20,7 +20,6 @@
(defun +file-templates--expand (key &optional mode project-only)
"Auto insert a snippet of yasnippet into new file."
(interactive)
(when (if project-only (doom-project-p) t)
(require 'yasnippet)
(unless yas-minor-mode (yas-minor-mode-on))