#!/bin/sh

if emacsclient --alternate-editor=false -e 't' ; then
    emacsclient -c -n
else
    emacs
fi
