From a221be29e0d0ebc1fc90a1b00af913869358d9c8 Mon Sep 17 00:00:00 2001 From: Marcus Kammer <2262664-marcuskammer@users.noreply.gitlab.com> Date: Sun, 29 Nov 2020 11:51:12 +0100 Subject: [PATCH] Made C code blocks in org available --- bundle/bundle--package.el | 29 ++++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/bundle/bundle--package.el b/bundle/bundle--package.el index 9b364f9a..92d59963 100644 --- a/bundle/bundle--package.el +++ b/bundle/bundle--package.el @@ -123,19 +123,8 @@ There are two things you can do about this warning: ("dot" . fundamental) ("screen" . shell-script) ("shell" . sh) + ("C" . c) ("plantuml" . plantuml))) - org-babel-load-languages (quote - ((js . t) - (gnuplot . t) - (emacs-lisp . t) - (python . t) - (sqlite . t) - (lisp . t) - (shell . t) - (css . t) - (calc . t) - (plantuml . t) - (dot . t))) org-use-property-inheritance nil org-export-with-sub-superscripts nil org-capture-templates (quote @@ -148,7 +137,21 @@ There are two things you can do about this warning: "* %?\n\s %T\n") ("A" "Appointment" entry (file+headline "appointments.org" "Appointments") - "* %?\n\s %u\n\s"))))) + "* %?\n\s %u\n\s")))) + (org-babel-do-load-languages + 'org-babel-load-languages (quote + ((js . t) + (gnuplot . t) + (emacs-lisp . t) + (python . t) + (sqlite . t) + (lisp . t) + (shell . t) + (css . t) + (calc . t) + (plantuml . t) + (C . t) + (dot . t))))) (use-package helpful