]> git.eshelyaron.com Git - emacs.git/commitdiff
(org-publish-org-to-html): Remove duplicate function definition.
authorGlenn Morris <rgm@gnu.org>
Wed, 12 Sep 2007 07:30:25 +0000 (07:30 +0000)
committerGlenn Morris <rgm@gnu.org>
Wed, 12 Sep 2007 07:30:25 +0000 (07:30 +0000)
lisp/textmodes/org-publish.el

index 79ccdda05b9bf4424519c09addfdf62ffcfca238..f188fedf0d82a0f15baf5b5161804f109286ab1e 100644 (file)
@@ -438,20 +438,6 @@ nil if not found."
 
 ;;;; 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))