4 EMACS_CLIENT
=emacsclient
5 TMP_FILE
=~
/.org-fireforg-mac.tmp
10 if [ -f "${TMP_FILE}" ]; then
12 COM
=$
(head -n 1 ${TMP_FILE})
14 if [ "${COM}" != "" ]; then
15 # echo "Calling ${EMACS_CLIENT} with argument: ${COM}"
17 ${EMACS_CLIENT} "${COM}"
19 # Remove the first line
20 perl
-pi -e '$_ = "" if ($. == 1);' ${TMP_FILE}