The AUCTeX document on <https://www.gnu.org/software/auctex/manual/auctex/Multifile.html> says the following:
If the variable is dwim, AUCTeX will try to avoid querying by attempting to “do what I mean”; and then change the file. But I'm still not so clear on the specific mechanism/algorithm denoted by “do what I mean”. Any hints will be highly appreciated. Regards -- Assoc. Prof. Hongyi Zhao <hongyi.z...@gmail.com> Theory and Simulation of Materials Hebei Vocational University of Technology and Engineering No. 473, Quannan West Street, Xindu District, Xingtai, Hebei province