diff --git a/templates b/templates index 7237147..cb9ed05 100644 --- a/templates +++ b/templates @@ -131,6 +131,8 @@ c-mode :when (re-search-backward "^\\S-*$" (line-beginning-position) 'noerror) org-mode +(title "#+title: " p n "#+author: " p n "#+email: " p n "#+language: en") +(babel "#+property: header-args:emacs-lisp :tangle yes :mkdirp yes :results output silent") (caption "#+caption: ") (drawer ":" p ":" n r ":end:") (begin "#+begin_" (s name) n> r> n "#+end_" name) @@ -148,7 +150,6 @@ org-mode (gnuplot "#+begin_src gnuplot :var data=" (p "table") " :file " (p "plot.png") n r n "#+end_src" :post (org-edit-src-code)) (elisp "#+begin_src emacs-lisp" n r n "#+end_src" :post (org-edit-src-code)) (inlsrc "src_" p "{" q "}") -(title "#+title: " p n "#+author: Daniel Mendler" n "#+language: en") python-base-mode