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)))