Merge branch 'maint'

This commit is contained in:
Nicolas Goaziou 2014-07-23 10:09:04 +02:00
commit 29f3662035
1 changed files with 1 additions and 1 deletions

View File

@ -3707,7 +3707,7 @@ element it has to parse."
(goto-char (car affiliated))
(org-element-keyword-parser limit nil))
;; LaTeX Environment.
((looking-at "[ \t]*\\\\begin{\\([A-Za-z0-9]+\\*?\\)}")
((looking-at "[ \t]*\\\\begin{\\([A-Za-z0-9]+\\*?\\)}\\(\\[.*?\\]\\|{.*?}\\)*[ \t]*$")
(org-element-latex-environment-parser limit affiliated))
;; Drawer and Property Drawer.
((looking-at org-drawer-regexp)