diff options
| author | Glenn Morris | 2007-09-12 07:30:25 +0000 |
|---|---|---|
| committer | Glenn Morris | 2007-09-12 07:30:25 +0000 |
| commit | cf69573ae099c058b67b58080a67981bf11f7289 (patch) | |
| tree | 7c12db84d22e29026e9a555265d259da9602a0f6 | |
| parent | 58efff64115587db48cdf9d05948e087bf21b36c (diff) | |
| download | emacs-cf69573ae099c058b67b58080a67981bf11f7289.tar.gz emacs-cf69573ae099c058b67b58080a67981bf11f7289.zip | |
(org-publish-org-to-html): Remove duplicate function definition.
| -rw-r--r-- | lisp/textmodes/org-publish.el | 14 |
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. | ||
| 444 | PLIST is the property list for the given project. | ||
| 445 | FILENAME 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)) |