branch: externals/org
commit 69e746c1e42bbf2eb0afe6306bb32af759c2c3e0
Author: Ihor Radchenko <[email protected]>
Commit: Ihor Radchenko <[email protected]>

    lisp/ox-odt.el: Do not open the generated exported file in the background
    
    * lisp/ox-odt.el (org-odt--export-wrap): Do not open the exported file
    in the background.  Such behavior is not consistent with the other
    export backends and is not documented (users don't know about it).
    * etc/ORG-NEWS (ODT export no longer opens the exported file in the
    background): Document the breaking change.
---
 etc/ORG-NEWS   | 7 +++++++
 lisp/ox-odt.el | 3 ---
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/etc/ORG-NEWS b/etc/ORG-NEWS
index 6c81221c18..c54473f559 100644
--- a/etc/ORG-NEWS
+++ b/etc/ORG-NEWS
@@ -13,6 +13,13 @@ Please send Org bug reports to mailto:[email protected].
 
 * Version 9.7 (not released yet)
 ** Important announcements and breaking changes
+*** ODT export no longer opens the exported file in the background
+
+ODT exporter used to open the exported file in ~archive-mode~ "for
+examination".  This was not documented, was done in the background,
+and is not consistent with all other export backends. Now, this
+feature is removed.
+
 *** ~org-src-associate-babel-session~ and ~org-babel-<lang>-associate-session~ 
are now obsolete
 
 This functionality is not documented, rarely used and can be achieved
diff --git a/lisp/ox-odt.el b/lisp/ox-odt.el
index 8d3a483949..e51547f483 100644
--- a/lisp/ox-odt.el
+++ b/lisp/ox-odt.el
@@ -4081,9 +4081,6 @@ contextual information."
             (message "Created %s" (expand-file-name target))
             ;; Cleanup work directory and work files.
             (funcall --cleanup-xml-buffers)
-            ;; Open the OpenDocument file in archive-mode for
-            ;; examination.
-            (find-file-noselect target t)
             ;; Return exported file.
             (cond
              ;; Case 1: Conversion desired on exported file.  Run the

Reply via email to