org: add a new code example
This addresses on item of #14. * doc/org/tut20.org: New file. * doc/Makefile.am: Add it. * doc/org/tut.org: Link to it. * doc/org/.dir-locals.el.in, doc/org/init.el.in: Fix some PATH issues.
This commit is contained in:
parent
9f32021e0f
commit
60bd9dd606
5 changed files with 327 additions and 8 deletions
|
|
@ -21,12 +21,12 @@
|
|||
(C . t)))
|
||||
(setq org-confirm-babel-evaluate nil)
|
||||
|
||||
(setq org-babel-sh-command
|
||||
(concat "PATH=@abs_top_builddir@/src/bin" path-separator "$PATH sh"))
|
||||
|
||||
(setq org-babel-python-command "/usr/bin/python3")
|
||||
(setq org-babel-python-command "@PYTHON@")
|
||||
(setq org-babel-C++-compiler "./g++wrap")
|
||||
(setq shell-file-name "@SHELL@")
|
||||
|
||||
(setenv "PATH"
|
||||
(concat "@abs_top_builddir@/src/bin" path-separator (getenv "PATH")))
|
||||
(setenv "PYTHONPATH"
|
||||
(concat "@abs_top_builddir@/wrap/python/.libs:@abs_top_builddir@/wrap/python:@abs_top_srcdir@/wrap/python:"
|
||||
(getenv "PYTHONPATH")))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue