From cf69573ae099c058b67b58080a67981bf11f7289 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Wed, 12 Sep 2007 07:30:25 +0000 Subject: [PATCH] (org-publish-org-to-html): Remove duplicate function definition. --- lisp/textmodes/org-publish.el | 14 -------------- 1 file changed, 14 deletions(-) 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)) -- 2.39.5