emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Proposed patch to nt\runemacs.c: a way to augment environment variab


From: Juanma Barranquero
Subject: Re: Proposed patch to nt\runemacs.c: a way to augment environment variables prior to starting Emacs
Date: Thu, 15 Oct 2015 09:47:02 +0200

On Thu, Oct 15, 2015 at 12:08 AM, Evgeny Roubinchtein <address@hidden> wrote:

> With this patch applied, I can set the environment variable EMACS_ENV
> to ">PATH>${msys2_root}/mingw64/bin", and have that directory appended
> to the PATH but only in the environment of the runemacs process.  That
> environment is inherited by the emacs process, so I can allow Emacs to
> find the libraries it needs in order to run without copying them to
> the Emacs installation directory and without altering the PATH for my
> user account.

Why not simply have a myrunemacs.bat

@echo off
setlocal
set PATH=%PATH;/your/path/to/mingw64/bin
runemacs %*
endlocal

??

reply via email to

[Prev in Thread] Current Thread [Next in Thread]