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?
xemacs -batch -no-autoloads \
-eval '(if (emacs-version>= 21 4) (princ "can-do"))' | grep
can-do
?