a little more careful about transforming ac.done() into a no-op
Merge pull request #890 from drewfish/ac-error-done

a little more careful about transforming ac.done() into a no-op