From 59501ca5f3ac2a04ed3d1826e014636731c3a234 Mon Sep 17 00:00:00 2001 From: Jacopo De Simoi Date: Sun, 25 Mar 2018 18:06:32 -0400 Subject: [PATCH] Add emacs-lisp structure template to org-mode --- init/init-org.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/init/init-org.el b/init/init-org.el index 2bdfd8f..a97264e 100644 --- a/init/init-org.el +++ b/init/init-org.el @@ -12,6 +12,9 @@ (global-set-key (kbd "C-c a") 'org-agenda) (global-set-key (kbd "C-c c") 'org-capture) +(add-to-list 'org-structure-template-alist + '("el" "#+BEGIN_SRC emacs-lisp\n?\n#+END_SRC")) + (setq org-src-fontify-natively t) (setq org-capture-templates