Stop ns builds setting the EMACSPATH environment variable
commitcbb319513e0da14e7de2e9be121d449b6bcc8d88
authorGlenn Morris <rgm@gnu.org>
Mon, 9 Jul 2012 21:28:39 +0000 (9 17:28 -0400)
committerGlenn Morris <rgm@gnu.org>
Mon, 9 Jul 2012 21:28:39 +0000 (9 17:28 -0400)
tree755535990ffe26b56cf2057ad7d2016e9048e9e3
parent7c4e8ec014e532c3864a7e2494d71a663d96b295
Stop ns builds setting the EMACSPATH environment variable
Ref bugs 4309, 6401, etc

* src/nsterm.m (ns_exec_path): New function, split from ns_init_paths.
(ns_init_paths): Do not set EMACSPATH.

* src/nsterm.h (ns_exec_path): Add it.

* src/callproc.c (init_callproc_1, init_callproc) [HAVE_NS]: Use ns_exec_path.
src/ChangeLog
src/callproc.c
src/nsterm.h
src/nsterm.m