link gnulib-tool into ~/bin
[james-home.git] / bin / editor
blob26237fd1fc3c20b16d0d174a8a20190fa6352783
1 #! /bin/sh
2 if [ -z $DISPLAY ]; then
3 OPT="-t"
4 else
5 OPT="-c"
6 fi
8 emacsclient ${OPT} "$@" || ( emacs --daemon; sleep 2; emacsclient ${OPT} "$@" )