diff options
| author | Ihor Radchenko <yantar92@posteo.net> | 2023-12-09 11:37:02 +0100 |
|---|---|---|
| committer | Ihor Radchenko <yantar92@posteo.net> | 2023-12-29 16:33:54 +0100 |
| commit | 69e746c1e42bbf2eb0afe6306bb32af759c2c3e0 (patch) | |
| tree | b64c3311cf00111a056f24970ef9077aa57f3855 | |
| parent | d15e52fef44a435fab294289e0dff240078c760d (diff) | |
| download | org-mode-69e746c1e.tar.gz | |
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.
| -rw-r--r-- | etc/ORG-NEWS | 7 | ||||
| -rw-r--r-- | lisp/ox-odt.el | 3 |
2 files changed, 7 insertions, 3 deletions
diff --git a/etc/ORG-NEWS b/etc/ORG-NEWS index 6c81221..c54473f 100644 --- a/etc/ORG-NEWS +++ b/etc/ORG-NEWS @@ -13,6 +13,13 @@ Please send Org bug reports to mailto:emacs-orgmode@gnu.org. * 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 8d3a483..e51547f 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 |
