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

    lisp/ox-odt.el: Do not alter `auto-mode-alist'
    
    Reported-by: Peter Prevos <[email protected]>
    Link: https://orgmode.org/list/[email protected]
---
 lisp/ox-odt.el | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/lisp/ox-odt.el b/lisp/ox-odt.el
index e51547f483..c209e01a6d 100644
--- a/lisp/ox-odt.el
+++ b/lisp/ox-odt.el
@@ -4349,11 +4349,6 @@ is non-nil then the newly converted file is opened using
 
 ;;; Library Initializations
 
-(dolist (desc org-odt-file-extensions)
-  ;; Let Emacs open all OpenDocument files in archive mode.
-  (add-to-list 'auto-mode-alist
-              (cons (concat  "\\." (car desc) "\\'") 'archive-mode)))
-
 (provide 'ox-odt)
 
 ;; Local variables:

Reply via email to