diff options
-rw-r--r-- | init.el | 23 |
1 files changed, 23 insertions, 0 deletions
@@ -1238,6 +1238,9 @@ | |||
1238 | (use-package racket-mode | 1238 | (use-package racket-mode |
1239 | :straight t) | 1239 | :straight t) |
1240 | 1240 | ||
1241 | (use-package ob-racket | ||
1242 | :straight (:host github :repo "hasu/emacs-ob-racket")) | ||
1243 | |||
1241 | ;; SICP | 1244 | ;; SICP |
1242 | (use-package sicp | 1245 | (use-package sicp |
1243 | :straight t) | 1246 | :straight t) |
@@ -1263,6 +1266,26 @@ | |||
1263 | (setq lsp-bash-highlight-parsing-errors t)) | 1266 | (setq lsp-bash-highlight-parsing-errors t)) |
1264 | 1267 | ||
1265 | 1268 | ||
1269 | ;; --------------------------------- | ||
1270 | ;; Literate programming | ||
1271 | ;; -------------------- | ||
1272 | ;; Execute code directly in org-mode | ||
1273 | ;; via `org-babel' | ||
1274 | ;; --------------------------------- | ||
1275 | |||
1276 | (org-babel-do-load-languages | ||
1277 | 'org-babel-load-languages | ||
1278 | '((emacs-lisp . t) | ||
1279 | (lisp . t) | ||
1280 | (C . t) | ||
1281 | (makefile . t) | ||
1282 | (latex . t) | ||
1283 | (python . t) | ||
1284 | (racket . t))) | ||
1285 | |||
1286 | (setq org-confirm-babel-evaluate nil) | ||
1287 | |||
1288 | |||
1266 | 1289 | ||
1267 | 1290 | ||
1268 | ;; --------------------------------------------------------------------- | 1291 | ;; --------------------------------------------------------------------- |