File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -1861,8 +1861,11 @@ INFO is a plist used as a communication channel."
18611861 " Create a format-spec for document meta-data.
18621862INFO is a plist used as a communication channel."
18631863 (let ((language (let ((lang (plist-get info :language )))
1864- (or (cdr (assoc-string lang org-latex-babel-language-alist t ))
1865- (nth 1 (assoc-string lang org-latex-polyglossia-language-alist t ))
1864+ ; ; The second element in
1865+ ; ; `org-latex-language-alist' is always the
1866+ ; ; language name, regardless of the type of the
1867+ ; ; alist entry.
1868+ (or (nth 1 (assoc-string lang org-latex-language-alist t ))
18661869 lang))))
18671870 `((?a . ,(org-export-data (plist-get info :author ) info))
18681871 (?t . ,(org-export-data (plist-get info :title ) info))
You can’t perform that action at this time.
0 commit comments