From: Nicolas Goaziou Date: Tue, 19 Aug 2014 21:35:08 +0000 (+0200) Subject: ox-texinfo: Fix language case X-Git-Tag: release_8.2.8~29 X-Git-Url: https://repo.or.cz/w/org-mode.git/commitdiff_plain/f2ac6db0a6589b52cc75d6ea754fe07c8c7017a3 ox-texinfo: Fix language case * lisp/ox-texinfo.el (org-texinfo-template): Fix language and encoding case. Thanks to Brian J. Carlson for reporting it and providing a patch. http://permalink.gmane.org/gmane.emacs.orgmode/89965 --- diff --git a/lisp/ox-texinfo.el b/lisp/ox-texinfo.el index c4b2ebf8c..2fca4b7ae 100644 --- a/lisp/ox-texinfo.el +++ b/lisp/ox-texinfo.el @@ -541,8 +541,7 @@ holding export options." "^@documentencoding \\(AUTO\\)$" coding (replace-regexp-in-string - "^@documentlanguage \\(AUTO\\)$" language header nil nil 1) - nil nil 1))) + "^@documentlanguage \\(AUTO\\)$" language header t nil 1) t nil 1))) ;; Additional header options set by #+TEXINFO_HEADER. (let ((texinfo-header (plist-get info :texinfo-header))) (and texinfo-header (org-element-normalize-string texinfo-header)))