|Subject:||Re: Reset Emacs state|
|Date:||Tue, 2 Mar 2010 12:06:48 +0000|
On Tue, Mar 2, 2010 at 12:48 PM, Johan Andersson <address@hidden> wrote:Using dynamic scoping and call-process are too different ways. When
> I'm not sure how that would help me? Do you mean something like this?
> (let ((var "some variable"))
> (call-process "emacs" nil "*scratch*" t "-Q" "--batch" "-l"
> Using call-process would reset the state, but how do I reach var in test.el?
> I thought that was what you meant with dynamic scoping?
using call-process you have to write some output in the inferior emacs
process and investigate that in the original emacs process.
|[Prev in Thread]||Current Thread||[Next in Thread]|