# HG changeset patch # User Glenn Morris # Date 1189582225 0 # Node ID 1e8d15d124b9404f636881b390a91da407272e17 # Parent 1c66d0ff94ca38e92d0c89a4152d31a3930bc2c0 (org-publish-org-to-html): Remove duplicate function definition. diff -r 1c66d0ff94ca -r 1e8d15d124b9 lisp/textmodes/org-publish.el --- 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))