Browse Source

ox-org: Silence byte-compiler

Nicolas Goaziou 12 years ago
parent
commit
25f2ae88f5
1 changed files with 6 additions and 5 deletions
  1. 6 5
      lisp/ox-org.el

+ 6 - 5
lisp/ox-org.el

@@ -26,14 +26,15 @@
 
 
 ;;; Code:
 ;;; Code:
 (require 'ox)
 (require 'ox)
+(declare-function htmlize-buffer "htmlize" (&optional buffer))
 
 
 (defgroup org-export-org nil
 (defgroup org-export-org nil
   "Options for exporting Org mode files to Org."
   "Options for exporting Org mode files to Org."
   :tag "Org Export Org"
   :tag "Org Export Org"
-  :group 'org-export)
+  :group 'org-export
+  :version "24.4"
+  :package-version '(Org . "8.0"))
 
 
-(define-obsolete-variable-alias
-  'org-export-htmlized-org-css-url org-org-htmlized-css-url "24.4")
 (defcustom org-org-htmlized-css-url nil
 (defcustom org-org-htmlized-css-url nil
   "URL pointing to the CSS defining colors for htmlized Emacs buffers.
   "URL pointing to the CSS defining colors for htmlized Emacs buffers.
 Normally when creating an htmlized version of an Org buffer,
 Normally when creating an htmlized version of an Org buffer,
@@ -45,11 +46,11 @@ creating an htmlized version of an Org buffer using
 `org-org-export-as-org' will include a link to this URL if the
 `org-org-export-as-org' will include a link to this URL if the
 setting of `org-html-htmlize-output-type' is 'css."
 setting of `org-html-htmlize-output-type' is 'css."
   :group 'org-export-org
   :group 'org-export-org
-  :version "24.4"
-  :package-version '(Org . "8.0")
   :type '(choice
   :type '(choice
 	  (const :tag "Don't include external stylesheet link" nil)
 	  (const :tag "Don't include external stylesheet link" nil)
 	  (string :tag "URL or local href")))
 	  (string :tag "URL or local href")))
+(define-obsolete-variable-alias
+  'org-export-htmlized-org-css-url org-org-htmlized-css-url "24.4")
 
 
 (org-export-define-backend org
 (org-export-define-backend org
   ((babel-call . org-org-identity)
   ((babel-call . org-org-identity)