Rasmus <ras...@gmx.us> writes: > Rasmus <ras...@gmx.us> writes: > >> Eric Schulte <schulte.e...@gmail.com> writes: >> >>> Use the `org-src-lang-modes' variable to associate a src code block name >>> with a major mode. This list already contains ("cpp" . c++) for C++ >>> code blocks, but perhaps ("C++" . c++) should be added as well. >> >> Thanks for the pointers! >> >> Do you find the attached patch acceptable? > > Scratch it, it's not working as it should. >
I actually applied this patch, undid the portion in ob-C.el because we shouldn't be modifying org-babel-load-languages from ob-* files, and added another change which include the org-src-lang-mode languages to the options in org-babel-demarcate-block. Let me know if this leaves anything out. Thanks, -- Eric Schulte http://cs.unm.edu/~eschulte