Browse Source

Define customizable group org-export-odt

* contrib/lisp/org-odt.el (org-export-odt): Define the missing
customizable group and hook it up with `org-export'
customizable group.
(org-export-odt-preferred-output-format): Fix the `:group'
property.
Jambunathan K 13 năm trước cách đây
mục cha
commit
b83e532174
1 tập tin đã thay đổi với 6 bổ sung1 xóa
  1. 6 1
      contrib/lisp/org-odt.el

+ 6 - 1
contrib/lisp/org-odt.el

@@ -30,6 +30,11 @@
 (eval-when-compile (require 'cl))
 (require 'org-lparse)
 
+(defgroup org-export-odt nil
+  "Options specific for ODT export of Org-mode files."
+  :tag "Org Export ODT"
+  :group 'org-export)
+
 (defun org-odt-end-export ()
   (org-odt-fixup-label-references)
 
@@ -282,7 +287,7 @@ in `org-odt-get'. If the above option is unspecified then
 The format specified here should be listed in OTHER-BACKENDS
 option of `org-odt-get' or `org-lparse-convert-capabilities' as
 appropriate."
-  :group 'org-odt
+  :group 'org-export-odt
   :type '(choice :convert-widget
 		 (lambda (w)
 		   (apply 'widget-convert (widget-type w)