From bb2f65f1b649b97bfe3f6e42ac8ad917758365d5 Mon Sep 17 00:00:00 2001 From: Mountain Man <43313373+MountainMan1312@users.noreply.github.com> Date: Thu, 13 Jul 2023 02:06:55 -0400 Subject: Setup `org-babel` and `ob-racket` --- init.el | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/init.el b/init.el index 1b902ec..4a80f0d 100644 --- a/init.el +++ b/init.el @@ -1238,6 +1238,9 @@ (use-package racket-mode :straight t) +(use-package ob-racket + :straight (:host github :repo "hasu/emacs-ob-racket")) + ;; SICP (use-package sicp :straight t) @@ -1263,6 +1266,26 @@ (setq lsp-bash-highlight-parsing-errors t)) +;; --------------------------------- +;; Literate programming +;; -------------------- +;; Execute code directly in org-mode +;; via `org-babel' +;; --------------------------------- + +(org-babel-do-load-languages + 'org-babel-load-languages + '((emacs-lisp . t) + (lisp . t) + (C . t) + (makefile . t) + (latex . t) + (python . t) + (racket . t))) + +(setq org-confirm-babel-evaluate nil) + + ;; --------------------------------------------------------------------- -- cgit v1.2.3