(reftex-toc-dframe-p, reftex-toc-promote-prepare): Follow error conventions.