branch: externals/auctex
commit c92251cb8dca5a35c818b0ce903277dd36e893ec
Author: Arash Esbati <[email protected]>
Commit: Arash Esbati <[email protected]>
Load hyperref.el in `LaTeX-beamer-class-options'
* style/beamer.el (LaTeX-beamer-class-options): Load "hyperref.el"
in order to have `LaTeX-hyperref-package-options-list' defined
when the document class is requested and the style hook hasn't run
yet. (bug#35649)
---
style/beamer.el | 1 +
1 file changed, 1 insertion(+)
diff --git a/style/beamer.el b/style/beamer.el
index fb69fc4..5de0d32 100644
--- a/style/beamer.el
+++ b/style/beamer.el
@@ -363,6 +363,7 @@ also be a string. Then the length of the string is used."
(defun LaTeX-beamer-class-options ()
"Read the beamer class options from the user."
+ (TeX-load-style "hyperref")
(TeX-read-key-val t '(("usepdftitle" ("false")) ("envcountsect")
("notheorems") ("noamsthm") ("compress") ("t") ("c")
("leqno") ("fleqn") ("handout") ("trans") ("pdftex")