When trying to use the LaTeX document class beamer with AucTeX it does not load the template. Emacs reports Symbol’s value as variable is void: LaTeX-hyperref-package-options-list after loading beamer.elc. How can this be fixed?

If I type \documentclass{beamer} by hand and press C-c C-n, then AucTeX loads beamer (works for the whole Emacs session).

  • This is apparently defined in hyperref.elc, which should be loaded along.
    – JeanPierre
    Aug 31, 2019 at 21:05
  • @JeanPierre How can I load it along? According to Messages buffer it is not. Sep 1, 2019 at 13:34

1 Answer 1


The issue you describe was a bug in AUCTeX which was fixed with this change. This change loads hyperref.el when you request the beamer class and are asked for class options, making LaTeX-hyperref-package-options-list available before the style hook runs.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.