aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2007-09-12 07:30:25 +0000
committerGlenn Morris2007-09-12 07:30:25 +0000
commitcf69573ae099c058b67b58080a67981bf11f7289 (patch)
tree7c12db84d22e29026e9a555265d259da9602a0f6
parent58efff64115587db48cdf9d05948e087bf21b36c (diff)
downloademacs-cf69573ae099c058b67b58080a67981bf11f7289.tar.gz
emacs-cf69573ae099c058b67b58080a67981bf11f7289.zip
(org-publish-org-to-html): Remove duplicate function definition.
-rw-r--r--lisp/textmodes/org-publish.el14
1 files changed, 0 insertions, 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."
438 438
439;;;; Pluggable publishing back-end functions 439;;;; Pluggable publishing back-end functions
440 440
441
442(defun org-publish-org-to-html (plist filename)
443 "Publish an org file to HTML.
444PLIST is the property list for the given project.
445FILENAME is the filename of the org file to be published."
446 (require 'org)
447 (let* ((arg (plist-get plist :headline-levels)))
448 (progn
449 (find-file filename)
450 (org-export-as-html arg nil plist)
451 ;; get rid of HTML buffer
452 (kill-buffer (current-buffer)))))
453
454
455(defun org-publish-org-to-latex (plist filename) 441(defun org-publish-org-to-latex (plist filename)
456 "Publish an org file to LaTeX." 442 "Publish an org file to LaTeX."
457 (org-publish-org-to "latex" plist filename)) 443 (org-publish-org-to "latex" plist filename))