org-e-latex: Babel language set through LANGUAGE keyword is loaded last
* contrib/lisp/org-e-latex.el (org-e-latex--guess-babel-language): Make sure Babel language set through LANGUAGE keyword is loaded last.
This commit is contained in:
parent
393f2f5ae8
commit
8840cd6ddc
|
@ -894,7 +894,9 @@ Return the new header."
|
|||
;; If LANGUAGE is already loaded, return header. Otherwise,
|
||||
;; append LANGUAGE to other options.
|
||||
(if (member language options) header
|
||||
(replace-match (mapconcat 'identity (cons language options) ",")
|
||||
(replace-match (mapconcat 'identity
|
||||
(append options (list language))
|
||||
",")
|
||||
nil nil header 1))))))
|
||||
|
||||
(defun org-e-latex--guess-inputenc (header)
|
||||
|
|
Loading…
Reference in New Issue