view etc/editclient.sh @ 5173:bd1e25975cdc

Use #'function-arglist, etc. from help.el, not reimplementing them, hyper-apropos 2010-03-29 Aidan Kehoe <kehoea@parhasard.net> * hyper-apropos.el (hyper-apropos-get-doc): Use help.el's #'function-arglist, #'function-documentation, #'symbol-file in this function, instead of rolling our own.
author Aidan Kehoe <kehoea@parhasard.net>
date Mon, 29 Mar 2010 18:49:33 +0100
parents 3ecd8885ac67
children
line wrap: on
line source

#!/bin/sh
if gnuclient -batch -eval t >/dev/null 2>&1; then
  exec gnuclient ${1+"$@"}
else
  xemacs -unmapped -f gnuserv-start &
  until gnuclient -batch -eval t >/dev/null 2>&1
  do
     sleep 1
  done
  exec gnuclient ${1+"$@"}
fi