From f2ac6db0a6589b52cc75d6ea754fe07c8c7017a3 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Tue, 19 Aug 2014 23:35:08 +0200 Subject: [PATCH] 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 --- lisp/ox-texinfo.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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))) -- 2.11.4.GIT