AUCTeX automatically parses my headers and determines what packages I use, making adjustments accordingly. For example, it knows when I've used cleveref and changes the available types of references when I type C-c ) accordingly.
However, if I precompile my preamble, AUCTeX does not know what packages I am using. Is there a way that I can set a variable to convince it to parse the header files, which are never included explicitly (except via the special comment %&preamble)?
It would be a bonus if I could also convince AUCTeX to precompile the header, which I currently do from the command line.