changeset 638:4f6e9ce2af1a

Switched back to native emacs as Cygwin w32 build has fork problems and issue with hiding console window (even with run.exe).
author Oleksandr Gavenko <gavenkoa@gmail.com>
date Mon, 31 Jul 2017 02:05:50 +0300
parents 75807b0a3065
children 13381cd386fe
files emacs/e emacs/e.bat
diffstat 2 files changed, 7 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/emacs/e	Mon Jul 31 00:59:36 2017 +0300
+++ b/emacs/e	Mon Jul 31 02:05:50 2017 +0300
@@ -36,7 +36,7 @@
 esac
 
 if [ -n "$COMSPEC" ]; then
-    exec emacsclient-w32 $args -- "$@"
+    exec emacsclientw $args -- "$@"
 fi
 
 f=`readlink -f "$1"`
--- a/emacs/e.bat	Mon Jul 31 00:59:36 2017 +0300
+++ b/emacs/e.bat	Mon Jul 31 02:05:50 2017 +0300
@@ -10,15 +10,15 @@
 
 REM If path to file contain spaces it must be inclosed into quotes.
 
-for %%X in (emacsclient-w32.exe) do (set FOUND=%%~$PATH:X)
-if defined FOUND (
-  rem Cygwin Emacs-w32.
-  set EMACSCLIENT=run.exe --quote emacsclient-w32
-) else (
+rem for %%X in (emacsclient-w32.exe) do (set FOUND=%%~$PATH:X)
+rem if defined FOUND (
+rem   rem Cygwin Emacs-w32.
+rem   set EMACSCLIENT=run.exe --quote emacsclient-w32
+rem ) else (
   rem Native Emacs.
   set RUNEMACSARG=-a runemacs
   set EMACSCLIENT=emacsclientw
-)
+rem )
 
 if x%1 == x-h     goto usage
 if x%1 == x-help  goto usage