From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Timmons Subject: [PATCH] Do not ignore org-odt-styles-file Date: Wed, 04 Mar 2020 18:50:30 -0500 Message-ID: <87mu8vy915.fsf@rocinante.timmons.dev> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:53020) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j9dmh-00066j-VM for emacs-orgmode@gnu.org; Wed, 04 Mar 2020 18:50:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j9dmg-0001pP-IV for emacs-orgmode@gnu.org; Wed, 04 Mar 2020 18:50:39 -0500 Received: from outgoing-auth-1.mit.edu ([18.9.28.11]:55561 helo=outgoing.mit.edu) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1j9dmg-0001mK-EZ for emacs-orgmode@gnu.org; Wed, 04 Mar 2020 18:50:38 -0500 Received: from localhost (dyn-199-92-167-16.whoi.net [199.92.167.16]) (authenticated bits=0) (User authenticated as etimmons@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 024NoaXG019727 (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 4 Mar 2020 18:50:36 -0500 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane-mx.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org :odt-styles-file was duplicated in ox-odt's org-export-define-backend form. This lead to the org-odt-styles-file custom being completely ignored. --- lisp/ox-odt.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lisp/ox-odt.el b/lisp/ox-odt.el index 2723c60c9..d353a3a2e 100644 --- a/lisp/ox-odt.el +++ b/lisp/ox-odt.el @@ -96,7 +96,7 @@ (if a (org-odt-export-to-odt t s v) (org-open-file (org-odt-export-to-odt nil s v) 'system)))))) :options-alist - '((:odt-styles-file "ODT_STYLES_FILE" nil nil t) + '((:odt-styles-file "ODT_STYLES_FILE" nil org-odt-styles-file t) (:description "DESCRIPTION" nil nil newline) (:keywords "KEYWORDS" nil nil space) (:subtitle "SUBTITLE" nil nil parse) @@ -110,7 +110,6 @@ (:odt-inline-formula-rules nil nil org-odt-inline-formula-rules) (:odt-inline-image-rules nil nil org-odt-inline-image-rules) (:odt-pixels-per-inch nil nil org-odt-pixels-per-inch) - (:odt-styles-file nil nil org-odt-styles-file) (:odt-table-styles nil nil org-odt-table-styles) (:odt-use-date-fields nil nil org-odt-use-date-fields) ;; Redefine regular option. -- 2.25.1