Commit d323fc77 authored by Konrad Hinsen's avatar Konrad Hinsen

Compatibilité avec Orgmode 9.2

parent e8ef7055
...@@ -227,6 +227,8 @@ Entered on %U ...@@ -227,6 +227,8 @@ Entered on %U
)) ))
(setq org-src-preserve-indentation t) (setq org-src-preserve-indentation t)
(require 'org-tempo nil t)
(add-to-list 'org-structure-template-alist (add-to-list 'org-structure-template-alist
'("s" "#+begin_src ?\n\n#+end_src" "<src lang=\"?\">\n\n</src>")) '("s" "#+begin_src ?\n\n#+end_src" "<src lang=\"?\">\n\n</src>"))
......
...@@ -364,6 +364,10 @@ Additional shortcuts for navigating through org-mode documents: ...@@ -364,6 +364,10 @@ Additional shortcuts for navigating through org-mode documents:
#+end_src #+end_src
** Adding source code blocks: :LUKA: ** 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: *** With capital letters:
To use this type <s and then TAB To use this type <s and then TAB
#+begin_src emacs-lisp :tangle init.el #+begin_src emacs-lisp :tangle init.el
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment