#!/bin/sh # try JED first if test -x /opt/local/bin/jed ; then exec /opt/local/bin/jed $@ fi if test -x /usr/bin/jed ; then exec /usr/bin/jed $@ fi # disable X windows, just in case, then fire up GNU Emacs instead. export DISLAY= exec /usr/bin/emacs $@