diff options
Diffstat (limited to 'emacs')
-rw-r--r-- | emacs | 11 |
1 files changed, 2 insertions, 9 deletions
@@ -398,15 +398,8 @@ (save-excursion (flyspell-buffer))) (ad-activate 'ispell-pdict-save t) -; byte-compile .emacs -(defun autocompile nil - "compile itself if ~/.emacs" - (interactive) - (require 'bytecomp) - (if (or (string= (buffer-file-name) (expand-file-name "~/.emacs")) - (string= (buffer-file-name) (expand-file-name "~/.dotfiles/emacs"))) - (byte-compile-file "~/.dotfiles/emacs"))) -(add-hook 'after-save-hook 'autocompile) +;; auto compile files +(require 'self-compile-mode) ; keine Abfrage wenn ein template existiert (setq template-query nil) |