#!/bin/sh emacsclient $* || emacs $*