add org env to source blocks
This commit is contained in:
parent
d536595c31
commit
0c2aaef995
|
@ -1100,7 +1100,9 @@ Enable shortcuts for embedding code in org text bodies.
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(setq org-src-window-setup 'current-window
|
(setq org-src-window-setup 'current-window
|
||||||
org-src-fontify-natively t
|
org-src-fontify-natively t
|
||||||
org-edit-src-content-indentation 0)
|
org-edit-src-content-indentation 0
|
||||||
|
org-babel-load-languages '((emacs-lisp . t)
|
||||||
|
(org . t)))
|
||||||
|
|
||||||
(add-to-list 'org-structure-template-alist
|
(add-to-list 'org-structure-template-alist
|
||||||
'("el" "#+BEGIN_SRC emacs-lisp\n?\n#+END_SRC"))
|
'("el" "#+BEGIN_SRC emacs-lisp\n?\n#+END_SRC"))
|
||||||
|
|
Loading…
Reference in New Issue