Proofreading of noncognate acyl adenylates by an acyl-coenzyme a ligase.