diff options
Diffstat (limited to 'emacs-config.org')
| -rw-r--r-- | emacs-config.org | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/emacs-config.org b/emacs-config.org index f7e36ba..8a9b5cd 100644 --- a/emacs-config.org +++ b/emacs-config.org @@ -258,6 +258,14 @@ Add new structure template shortcuts when inserting a block. (cl-pushnew '("se" . "src elisp") org-structure-template-alist) #+end_src +Add advice to automatically open an edit buffer when inserting a structure template. +#+begin_src elisp + (defadvice org-insert-structure-template + (after edit-src activate compile) + "Auto enter an edit buffer when inserted an Org block." + (call-interactively 'org-edit-special)) +#+end_src + Enable supported org babel languages. #+begin_src elisp (dolist (lang '(shell C latex plantuml)) |
