About 2 or 3 times each winter, I manage to forget that my lights are on when I get to work resulting in a flat battery by the time I get back in the car to leave for home. It's an automatic so bump-starting is not an option and I have to rely on a co-worker to give me a jump-start from their battery. This has always worked perfectly well in the past with no ill effects and at the end of my 7 mile drive home, the battery has been almost fully charged.
It happened again yesterday

and after a faltering start the engine seemed to run fine, but it would not tick-over and the revs died completely away when I took my foot off the accelerator. At first I thought it might be due to there being very little residual charge in the battery and things might improve after the drive home. On the way back I had to keep on foot on the go pedal all of the time and brake with my other foot - not an ideal situation.
The car is back home and starts so there's enough charge there, but there is still the problem with no idle at all unless I keep the accelerator partly depressed. I'd be very grateful for any pointers as to what may have gone wrong and how to put it right.
EDIT Duh! Its a 1988 M20 B20