|
|
|
@ -780,8 +780,11 @@ |
|
|
|
Add template for a source block in emacs-lisp. This is useful for |
|
|
|
Add template for a source block in emacs-lisp. This is useful for |
|
|
|
writing the emacs init file in literate form |
|
|
|
writing the emacs init file in literate form |
|
|
|
#+BEGIN_SRC emacs-lisp |
|
|
|
#+BEGIN_SRC emacs-lisp |
|
|
|
(add-to-list 'org-structure-template-alist |
|
|
|
(mapcar (lambda (structure-template) |
|
|
|
'("el" "#+BEGIN_SRC emacs-lisp\n?\n#+END_SRC")) |
|
|
|
(add-to-list 'org-structure-template-alist |
|
|
|
|
|
|
|
structure-template)) |
|
|
|
|
|
|
|
'(("el" "#+BEGIN_SRC emacs-lisp\n?\n#+END_SRC") |
|
|
|
|
|
|
|
("sh" "#+BEGIN_SRC sh\n?\n#+END_SRC"))) |
|
|
|
#+END_SRC |
|
|
|
#+END_SRC |
|
|
|
Fontify src blocks |
|
|
|
Fontify src blocks |
|
|
|
#+BEGIN_SRC emacs-lisp |
|
|
|
#+BEGIN_SRC emacs-lisp |
|
|
|
|