in reply to xemacs el code to check for ";"

I doubt el code can do that for you. El did not know where your statement end.
Boris