Browse Source

org-e-odt: Add require + autoload cookie

Jambunathan K 13 năm trước cách đây
mục cha
commit
40e710bbd5
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      contrib/lisp/org-e-odt.el

+ 2 - 0
contrib/lisp/org-e-odt.el

@@ -27,6 +27,7 @@
 
 (eval-when-compile
   (require 'cl))
+(require 'org-export)
 
 
 ;;; Define Back-End
@@ -4118,6 +4119,7 @@ contextual information."
 
 ;;; Interactive functions
 
+;;;###autoload
 (defun org-e-odt-export-to-odt
   (&optional subtreep visible-only body-only ext-plist pub-dir)
   "Export current buffer to a HTML file.