2 if [ -z $DISPLAY ]; then
9 # default to /usr/bin/emacs
10 # if I'm have it installed via guix use that one.
12 [ -x $HOME/.guix-profile
/bin
/emacs
] && EMACS
=$HOME/.guix-profile
/bin
/emacs
14 # $PATH should be set to find the proper emacsclient
15 # Add --no-site-lisp to keep Debian's slime from overwriting the one in melpa.
16 emacsclient
${OPT} "$@" || ( ${EMACS} --no-site-lisp --daemon; sleep 5; emacsclient ${OPT} "$@" )