summaryrefslogtreecommitdiffstats
path: root/emacs.d/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs.d/init.el')
-rw-r--r--emacs.d/init.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/emacs.d/init.el b/emacs.d/init.el
index 58bb2ab..b582bf7 100644
--- a/emacs.d/init.el
+++ b/emacs.d/init.el
@@ -199,7 +199,8 @@ If this is set during find-file, flyspell mode gets enabled automaticaly.")
;; keine Abfrage wenn ein template existiert
(when (require 'template nil 'noerror)
(setq template-auto-insert t
- template-message-prompt-format nil)
+ template-message-prompt-format nil
+ template-default-directories (list (expand-file-name "~/.emacs.d/templates/")))
(add-to-list 'template-find-file-commands 'ido-exit-minibuffer)
(template-initialize))