org: fix python execution with in-tree source and Swig4

* doc/org/.dir-locals.el.in, doc/org/init.el.in: Set the
SPOT_UNINSTALLED envvar, as we already do in the test suite.
This commit is contained in:
Alexandre Duret-Lutz 2020-07-21 21:21:50 +02:00
parent 457e130e24
commit 0fbc83e9c2
2 changed files with 2 additions and 0 deletions

View file

@ -95,6 +95,7 @@
(setenv "PATH"
(concat "@abs_top_builddir@/bin" path-separator (getenv "PATH")))
(setenv "SPOT_UNINSTALLED" "1")
(setenv "PYTHONPATH"
(concat "@abs_top_builddir@/python/.libs:"
"@abs_top_builddir@/python:"