From ba99d76a4f3b021200539a120f484aec3b803e9d Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Wed, 13 Mar 2019 14:11:11 +0100 Subject: [PATCH] ox-texinfo: Add missing support for center blocks * lisp/ox-texinfo.el (org-texinfo-center-block): Add missing support. --- lisp/ox-texinfo.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/ox-texinfo.el b/lisp/ox-texinfo.el index 9ea624a84..4f37a2a89 100644 --- a/lisp/ox-texinfo.el +++ b/lisp/ox-texinfo.el @@ -706,7 +706,7 @@ contextual information." "Transcode a CENTER-BLOCK element from Org to Texinfo. CONTENTS holds the contents of the block. INFO is a plist used as a communication channel." - contents) + (replace-regexp-in-string "\\(^\\).*?\\S-" "@center " contents nil nil 1)) ;;;; Clock