changeset 628:d7536d442db1

Prevent exposing variables.
author Oleksandr Gavenko <gavenkoa@gmail.com>
date Tue, 14 Feb 2017 22:42:52 +0200
parents a8d3e5e8a1c7
children 815567721a82
files emacs/e.bat
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/emacs/e.bat	Tue Jan 31 23:57:07 2017 +0200
+++ b/emacs/e.bat	Tue Feb 14 22:42:52 2017 +0200
@@ -10,6 +10,8 @@
 
 REM If path to file contain spaces it must be inclosed into quotes.
 
+setlocal
+
 for %%X in (emacsclient-w32.exe) do (set FOUND=%%~$PATH:X)
 if defined FOUND (
   rem Cygwin Emacs-w32.