15/03/31 21:49:33.37 r2ISwaky0.net
cygpathに"-p"オプションがあるのを忘れてたorz...
.bashrc ----------------------------------------------------------------
if [ !"$EMACS" -a !"$MSYSTEM" -a "$PATH" ]; then
perl -e \
'print qq/(setenv "$ARGV[0]" "/,`cygpath -amp "$ENV{$ARGV[0]}" | tr -d "\n"`,"\")"' \
PATH > ~/.emacs.d/site-lisp/shell_env.el
emacs -batch -f batch-byte-compile "~/.emacs.d/site-lisp/shell_env.el" >/dev/null 2>&1
fi
------------------------------------------------------------------------