Thanks, Aaron. This works for me.
Luc
> Try putting this in your vedinit.p file:
>
> define vedinitialise(file);
> ;;; Do nothing if the file was already in a Ved buffer.
> returnif(file);
>
> ;;; otherwise check the first line to see if it is a documentation
> ;;; file (not a foolproof test).
>
> lvars firstline = subscrv(1,vedbuffer);
>
> if isstartstring('HELP ', firstline)
> or isstartstring('TEACH ', firstline)
> or isstartstring('REF ', firstline)
> then
> vedinput(ved_strip);
> endif;
> enddefine;
>
|