diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-15 15:10:49 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-15 15:10:49 -0500 |
| commit | ebbab7a7e2f9e8a1e989879499f8cfc2101dca8d (patch) | |
| tree | 561ddba3c38c13bb246b0df9e47fe048ebbfe403 /modules | |
| parent | ea064dd5b2d72007e9aeeca4f92c02b6e76f7f3c (diff) | |
| download | dotemacs-ebbab7a7e2f9e8a1e989879499f8cfc2101dca8d.tar.gz dotemacs-ebbab7a7e2f9e8a1e989879499f8cfc2101dca8d.zip | |
refactor(org-babel): drop redundant cj structure template
Now that yasnippet handles `<cj` + TAB in every buffer including org-mode, the `cj` entry in `org-structure-template-alist` is redundant. I removed it and left a one-line comment pointing to where the marker now lives.
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/org-babel-config.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/org-babel-config.el b/modules/org-babel-config.el index b2a930fe..bfa31d8f 100644 --- a/modules/org-babel-config.el +++ b/modules/org-babel-config.el @@ -139,9 +139,9 @@ FLAG is the raw prefix argument passed interactively." (add-to-list 'org-structure-template-alist '("example" . "example")) (add-to-list 'org-structure-template-alist '("quote" . "quote")) (add-to-list 'org-structure-template-alist '("response" . "response")) - (add-to-list 'org-structure-template-alist '("output" . "output")) - ;; cj: comment blocks for daily prep annotations - (add-to-list 'org-structure-template-alist '("cj" . "src cj: comment"))) + (add-to-list 'org-structure-template-alist '("output" . "output"))) +;; <cj is provided by yasnippet at snippets/fundamental-mode/cj-comment-block +;; so the marker works in every buffer, not just org-mode. ;; requires ob-racket, not yet in repositories ;; (add-to-list 'org-structure-template-alist '("sicp" . "src racket :lang sicp")) |
