changeset 386:6a20dcaabad1

Allow use multiply files. Remove unnecessary comment.
author Oleksandr Gavenko <gavenkoa@gmail.com>
date Sun, 31 Jul 2011 22:46:49 +0300
parents 9746d3c26844
children 83d9a15e3614
files emacs/e.bat
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/emacs/e.bat	Sun Jul 31 22:38:59 2011 +0300
+++ b/emacs/e.bat	Sun Jul 31 22:46:49 2011 +0300
@@ -10,14 +10,14 @@
 
 REM If path to file contain spaces it must be inclosed into quotes.
 
-REM Enclose %1 into quotes is danger because if %1 equal to "a b" result
-REM expression ""a b"" has two words, not one enclosed into quotes!
-
 if x%1 == x-h     goto usage
 if x%1 == x-help  goto usage
 if x%1 == x--help goto usage
 
+:loop
 emacsclientw -a runemacs -n %1
+shift
+if not x%1 == x goto loop
 goto :eof
 
 :usage