From d82f837f7eb3b283b21df27c3891e8ae55fb66f1 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Mon, 6 Nov 2017 10:06:41 -0500 Subject: Remove org-structure-template-alist customization This will fail as of Org's c04e357f3 (Replace easy templates with org-insert-structure-template, 2017-11-05). I don't think I was using this much anymore, and, if I do end up missing this functionality, yasnippet is probably a better solution. --- init.el | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/init.el b/init.el index 66a80a5..1621bd8 100644 --- a/init.el +++ b/init.el @@ -150,21 +150,6 @@ (add-to-list 'org-latex-packages-alist '("" "amsmath" t)) - (setq org-structure-template-alist - (append '(("p" "#+property: ") - ("o" "#+options: ") - ("d" "#+date: ") - ("t" "#+title: ") - ("S" "#+setupfile: ?") - ("n" "#+name: ") - ("w" "#+begin_note\n ?\n#+end_note") - ("C" "#+caption: ") - ("b" "#+label: ") - ("r" "#+attr_latex: ") - ("R" "#+attr_html: ")) - (mapcar (lambda (i) (list (car i) (downcase (cadr i)))) - org-structure-template-alist))) - (add-hook 'next-error-hook (lambda () (when (eq major-mode 'org-mode) (org-show-context)))) -- cgit v1.2.3