aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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))