From: Glenn Morris Date: Wed, 12 Sep 2007 07:30:25 +0000 (+0000) Subject: (org-publish-org-to-html): Remove duplicate function definition. X-Git-Tag: emacs-pretest-23.0.90~10948 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=cf69573ae099c058b67b58080a67981bf11f7289;p=emacs.git (org-publish-org-to-html): Remove duplicate function definition. --- diff --git a/lisp/textmodes/org-publish.el b/lisp/textmodes/org-publish.el index 79ccdda05b9..f188fedf0d8 100644 --- a/lisp/textmodes/org-publish.el +++ b/lisp/textmodes/org-publish.el @@ -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))