mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-08-21 19:19:08 +00:00
org-latex.el: Fix problem when matching #+LaTeX_CLASS.
* org-latex.el: (org-export-latex-set-initial-vars): Fix problem when matching #+LaTeX_CLASS. Thanks to Torsten Wagner for spotting this.
This commit is contained in:
parent
3133b92fec
commit
28e5997b26
|
@ -1344,7 +1344,7 @@ LEVEL indicates the default depth for export."
|
|||
(save-restriction
|
||||
(widen)
|
||||
(goto-char (point-min))
|
||||
(and (re-search-forward "^#\\+LaTeX_CLASS:[ \t]*\\(-[a-zA-Z]+\\)" nil t)
|
||||
(and (re-search-forward "^#\\+LaTeX_CLASS:[ \t]*\\([-a-zA-Z]+\\)" nil t)
|
||||
(match-string 1))))
|
||||
(plist-get org-export-latex-options-plist :latex-class)
|
||||
org-export-latex-default-class)
|
||||
|
|
Loading…
Reference in a new issue