Derek Chen-Becker <[email protected]> writes:

> 2. There is no commit message with the patch. Please add a commit message
> that follows the guidelines at
> https://orgmode.org/worg/org-contribute.html#commit-messages

I intended to send my report to report-emacs-bug.  I might do something
wrong during editing email.

I regenerate my patch.  I do not have org-mode repository in my local
environment, the file path is for emacs source tree.
Should I close this report and resend to report-emacs-bug?  Or would
you check the same un-centering issue occurs in your environment?

Thank you.
-- 
TAKAHASHI Yoshio <[email protected]>
>From 13e2e298c310ea38a22c3dcf7874b492501d4e32 Mon Sep 17 00:00:00 2001
From: TAKAHASHI Yoshio <[email protected]>
Date: Wed, 6 May 2026 14:50:15 +0900
Subject: [PATCH] lisp/org/ox-odt.el: Return symbol `centered'

* lisp/org/ox-odt.el (org-odt--paragraph-style): According to the
function documentation, we should use symbol `centered' for centering
paragraph.
---
 lisp/org/ox-odt.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/org/ox-odt.el b/lisp/org/ox-odt.el
index 863c2c6f1eb..bca0fa984a4 100644
--- a/lisp/org/ox-odt.el
+++ b/lisp/org/ox-odt.el
@@ -2909,7 +2909,7 @@ org-odt--paragraph-style
             (org-element-lineage
              paragraph
              '(center-block quote-block section)))
-    (center-block 'center)
+    (center-block 'centered)
     (quote-block 'quoted)))
 
 (defun org-odt--format-paragraph (paragraph contents info default center quote)
-- 
2.54.0

Reply via email to