I have a problem with AUCTeX loading the correct hooks with a Beamer file.
If my file contains line breaks in the documentclass
line, the style hooks are not loaded. (Thus I have no frame
s in my AUCTeX environments, and other commands are also unavailable.) For instance:
\documentclass[14pt,
handout, % no transitions
xcolor=svgnames]
{beamer}
But if there are indeed no breaks, the style hooks are correctly loaded. For instance:
\documentclass[handout,xcolor=svgnames]{beamer}
Note that both ways are correct in LaTeX, but the first one enhances readability.
Is there a way to fix this?