From d323fc77f6589f0c046020c63425335ff8907726 Mon Sep 17 00:00:00 2001 From: Konrad Hinsen Date: Wed, 20 Mar 2019 15:23:44 +0100 Subject: [PATCH] =?UTF-8?q?Compatibilit=C3=A9=20avec=20Orgmode=209.2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- module2/ressources/rr_org/init.el | 2 ++ module2/ressources/rr_org/init.org | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/module2/ressources/rr_org/init.el b/module2/ressources/rr_org/init.el index e5b09e8..5ce0517 100644 --- a/module2/ressources/rr_org/init.el +++ b/module2/ressources/rr_org/init.el @@ -227,6 +227,8 @@ Entered on %U )) (setq org-src-preserve-indentation t) +(require 'org-tempo nil t) + (add-to-list 'org-structure-template-alist '("s" "#+begin_src ?\n\n#+end_src" "\n\n")) diff --git a/module2/ressources/rr_org/init.org b/module2/ressources/rr_org/init.org index 8ea4d6f..d6e20cb 100644 --- a/module2/ressources/rr_org/init.org +++ b/module2/ressources/rr_org/init.org @@ -364,6 +364,10 @@ Additional shortcuts for navigating through org-mode documents: #+end_src ** Adding source code blocks: :LUKA: +*** Enable the old template system with Orgmode 9.2 and later +#+begin_src emacs-lisp :tangle init.el +(require 'org-tempo nil t) +#+end_src *** With capital letters: To use this type