mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-09-29 20:07:46 +00:00
lisp/ox-latex.el: Remove obsolete Babel and Polyglossia alists
* (org-latex--format-spec): The new variable is now `org-latex-language-alist'.
This commit is contained in:
parent
bc875e5ccf
commit
d37c0ee5fa
|
@ -1861,8 +1861,11 @@ INFO is a plist used as a communication channel."
|
|||
"Create a format-spec for document meta-data.
|
||||
INFO is a plist used as a communication channel."
|
||||
(let ((language (let ((lang (plist-get info :language)))
|
||||
(or (cdr (assoc-string lang org-latex-babel-language-alist t))
|
||||
(nth 1 (assoc-string lang org-latex-polyglossia-language-alist t))
|
||||
;; The second element in
|
||||
;; `org-latex-language-alist' is always the
|
||||
;; language name, regardless of the type of the
|
||||
;; alist entry.
|
||||
(or (nth 1 (assoc-string lang org-latex-language-alist t))
|
||||
lang))))
|
||||
`((?a . ,(org-export-data (plist-get info :author) info))
|
||||
(?t . ,(org-export-data (plist-get info :title) info))
|
||||
|
|
Loading…
Reference in a new issue