diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2012-05-04 12:49:41 +0200 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2012-05-04 12:49:41 +0200 |
commit | f5e44369ed8239a08873067ddb494ad931ad29b4 (patch) | |
tree | 20fbac841a24ff9a5d735e17ddb1bd3c44d27800 /emacs | |
parent | 01b27340302d76b4507539be7a36ae312e64d521 (diff) | |
download | dotfiles-f5e44369ed8239a08873067ddb494ad931ad29b4.tar.gz dotfiles-f5e44369ed8239a08873067ddb494ad931ad29b4.tar.xz dotfiles-f5e44369ed8239a08873067ddb494ad931ad29b4.zip |
emacs: use template-mode instead of template-simple
Diffstat (limited to 'emacs')
-rw-r--r-- | emacs | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -183,8 +183,10 @@ If this is set during find-file, flyspell mode gets enabled automaticaly.") (require 'self-compile-mode) ;; keine Abfrage wenn ein template existiert -(setq template-query nil) -(require 'template-simple nil 'noerror) +(when (require 'template nil 'noerror) + (add-to-list 'template-find-file-commands 'ido-exit-minibuffer) + (setq template-auto-insert t) + (template-initialize)) ;; remember last position in file (setq save-place-file "~/.emacs.d/saveplace") |