view unixSoft/otherbin/emacs.sh @ 236:3e1ec121efaf

emacs: use smex as a replacement for execute-extended-command
author Augie Fackler <durin42@gmail.com>
date Sat, 18 Dec 2010 10:39:18 -0600
parents b403402153b5
children 7983184eb8d8
line wrap: on
line source

#!/bin/sh
if [ "`uname`" = "Darwin" ] ; then
    open -a emacs "$@"
else
    emacs -nw "$@"
fi