# LaTeX glossary doesn't typeset (AucTeX)

Consider the following LaTeX file (named test.tex) demonstrating the use of the glossaries-extra package.

\documentclass{article}
\usepackage[automake]{glossaries-extra}
\newglossaryentry{potato}{name={potato},description={potato}}
\makeglossaries
\begin{document}
\printglossaries
\end{document}
%%% Local Variables:
%%% mode: latex
%%% TeX-master: t
%%% TeX-engine: luatex
%%% End:


When I compile the document with C-c, C-a, the following output results.

What do I need to do in order for the document to typeset properly?

• If TeX-command-run-all is still sufficiently close to (my) original implementation the next command to run is determined through TeX-command-default (which see). – Tobias Mar 12 '19 at 14:35
• Could we close this question as duplicate of emacs.stackexchange.com/q/48293/2370 ? (I see this one as application of the other one. Is that right?) – Tobias Mar 12 '19 at 14:41
• @Tobias: I guess you can, even though they're not really duplicates. – Evan Aad Mar 12 '19 at 14:44