summaryrefslogtreecommitdiff
path: root/init.el
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2017-11-06 10:06:41 -0500
committerKyle Meyer <kyle@kyleam.com>2017-11-17 23:52:25 -0500
commitd82f837f7eb3b283b21df27c3891e8ae55fb66f1 (patch)
tree6cfdc69181ffd1c958f29e1b7cef2c06f722832e /init.el
parentafd4b9d682f4937ed88d4136611f1801b9c47151 (diff)
downloademacs.d-d82f837f7eb3b283b21df27c3891e8ae55fb66f1.tar.gz
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.
Diffstat (limited to 'init.el')
-rw-r--r--init.el15
1 files changed, 0 insertions, 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))))