|--==> "SJ" == Simon Josefsson <jas(a)extundo.com> writes:
SJ> Steve Youngs <youngs(a)xemacs.org> writes:
>|--==> "SJT" == Stephen J Turnbull
<stephen(a)xemacs.org> writes:
>
SJT> xemacs -batch -no-autoloads \
SJT> -eval '(if (emacs-version>= 21 4) (write-file "can-do"))'
>
>Ew, yuck. I hate having to rely on writing to disk just to test a
>condition. Any other ideas?
SJ> xemacs -batch -no-autoloads \
SJ> -eval '(if (emacs-version>= 21 4) (princ "can-do"))'
| grep can-do
Nice idea, but doesn't work in the case of XEmacs running from a
script that redirects the output.
--
|---<Steve Youngs>---------------<GnuPG KeyID: 10D5C9C5>---|
| XEmacs - It's not just an editor. |
| It's a way of life. |
|------------------------------------<youngs(a)xemacs.org>---|