changeset 84500:1e8d15d124b9

(org-publish-org-to-html): Remove duplicate function definition.
author Glenn Morris <rgm@gnu.org>
date Wed, 12 Sep 2007 07:30:25 +0000
parents 1c66d0ff94ca
children e4249189c43c
files lisp/textmodes/org-publish.el
diffstat 1 files changed, 0 insertions(+), 14 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/textmodes/org-publish.el	Wed Sep 12 07:30:07 2007 +0000
+++ b/lisp/textmodes/org-publish.el	Wed Sep 12 07:30:25 2007 +0000
@@ -438,20 +438,6 @@
 
 ;;;; Pluggable publishing back-end functions
 
-
-(defun org-publish-org-to-html (plist filename)
-  "Publish an org file to HTML.
-PLIST is the property list for the given project.
-FILENAME is the filename of the org file to be published."
-  (require 'org)
-  (let* ((arg (plist-get plist :headline-levels)))
-    (progn
-      (find-file filename)
-      (org-export-as-html arg nil plist)
-      ;; get rid of HTML buffer
-      (kill-buffer (current-buffer)))))
-
-
 (defun org-publish-org-to-latex (plist filename)
   "Publish an org file to LaTeX."
   (org-publish-org-to "latex" plist filename))