Edited my recent post to include Gerak's preparatory actions, in anticipation of trouble.
I'll assume Gerak was traveling when transported, approaching the town the group is currently beneath, so his 'typical adventuring' set of spells would be prepared. He only prepares the other set of spells when he's in relatively safe areas and doesn't expect to run into much trouble; the road can be dangerous though, so he'd have his defenses prepared for any possible highwaymen that might waylay the lone dwarf on the road.
His typical spells are on the character sheet. His Protection from Evil will last 3 minutes/30 rounds.