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 | 7dcb5178c749d12d4e6638543021cfc743f34f34 (patch) | |
| tree | 73fdd223389e7afd4fc3282615c74f84a1ed6066 | |
| parent | 3a4660ee4ef9ceb8a2b791be05720c386e4c2545 (diff) | |
| download | dotemacs-7dcb5178c749d12d4e6638543021cfc743f34f34.tar.gz dotemacs-7dcb5178c749d12d4e6638543021cfc743f34f34.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.
| -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 b2a930fee..bfa31d8f3 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")) |
