diff options
Diffstat (limited to 'Emacs/.config/emacs')
-rw-r--r-- | Emacs/.config/emacs/config.org | 24 |
1 files changed, 8 insertions, 16 deletions
diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org index 257d7e0..21e7774 100644 --- a/Emacs/.config/emacs/config.org +++ b/Emacs/.config/emacs/config.org @@ -2988,9 +2988,6 @@ felt good. Doom Emacs was very helpful here. :defer t :init (setq org-adapt-indentation nil - org-babel-load-languages '((emacs-lisp . t) - (lisp . t) - (shell . t)) org-bookmark-names-plist nil org-directory "~/Text/" org-edit-src-content-indentation 0 @@ -3020,7 +3017,14 @@ felt good. Doom Emacs was very helpful here. org-tags-column 0 org-todo-keywords '((sequence "TODO" "WIP" "DONE") (sequence "PROJ" "WAIT" "COMPLETE")) - org-use-sub-superscripts '{})) + org-use-sub-superscripts '{}) + :config + (org-babel-do-load-languages + 'org-babel-load-languages + '((emacs-lisp . t) + (lisp . t) + (shell . t) + (python . t)))) #+end_src *** Org Functionality Hooks, prettify-symbols and records for auto insertion. @@ -3456,18 +3460,6 @@ on your machine. (clang-format-region (region-beginning) (region-end)) (clang-format-buffer)))) #+end_src -*** cc org babel -To ensure org-babel executes language blocks of C/C++, I need to load -it as an option in ~org-babel-load-languages~. - -#+begin_src emacs-lisp -(use-package org - :after cc-mode - :init - (org-babel-do-load-languages - 'org-babel-load-languages - '((C . t)))) -#+end_src *** cc compile fsan Sanitisers are a blessing for C/C++. An additional runtime on top of the executable which catches stuff like undefined behaviour or memory |