# HG changeset patch # User Oleksandr Gavenko # Date 1488905333 -7200 # Node ID ad57cd9cc8102a244209fd1b3be882e9ef264559 # Parent 815567721a825b06f22c7b9cce02d43eecb1772b 'run' utility detach from terminal, need special care. diff -r 815567721a82 -r ad57cd9cc810 emacs/e --- a/emacs/e Tue Feb 14 23:36:32 2017 +0200 +++ b/emacs/e Tue Mar 07 18:48:53 2017 +0200 @@ -37,7 +37,11 @@ if [ -n "$COMSPEC" ]; then # We probably under Windows like OS. I like Cygwin emacs-w32. - exec run --quote emacsclient-w32 $args -- "$@" + case ${0##*/} in + # 'run' utility detach from terminal, need special care. + et) exec emacsclient-w32 $args -- "$@" ;; + *) exec run --quote emacsclient-w32 $args -- "$@" ;; + esac fi f=`readlink -f "$1"`