Skip to content

Instantly share code, notes, and snippets.

@apg
apg / gist:657226
Created October 31, 2010 22:09 — forked from lancepantz/gist:654709
# I use this on Linux:
#!/bin/bash
# e - launch emacsclient or server.
ps ax | grep "emacs --daemon" | grep -v "grep"
if [ "$?" -eq "1" ]
then
/usr/bin/emacs --daemon
fi