diff options
Diffstat (limited to 'lisp/org/org-exp.el')
| -rw-r--r-- | lisp/org/org-exp.el | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lisp/org/org-exp.el b/lisp/org/org-exp.el index 1cf4cb5e054..82b9003e4fd 100644 --- a/lisp/org/org-exp.el +++ b/lisp/org/org-exp.el | |||
| @@ -3047,12 +3047,11 @@ to the value of `temporary-file-directory'." | |||
| 3047 | (eval ;; convert to fmt -- mimicking `org-run-like-in-org-mode' | 3047 | (eval ;; convert to fmt -- mimicking `org-run-like-in-org-mode' |
| 3048 | (list 'let org-local-vars | 3048 | (list 'let org-local-vars |
| 3049 | (list (intern (format "org-export-as-%s" fmt)) | 3049 | (list (intern (format "org-export-as-%s" fmt)) |
| 3050 | nil nil nil ''string t)))) | 3050 | nil nil ''string t dir)))) |
| 3051 | (delete-file tmp-file)))) | 3051 | (delete-file tmp-file)))) |
| 3052 | 3052 | ||
| 3053 | ;;;###autoload | 3053 | ;;;###autoload |
| 3054 | (defun org-export-as-org (arg &optional hidden ext-plist | 3054 | (defun org-export-as-org (arg &optional ext-plist to-buffer body-only pub-dir) |
| 3055 | to-buffer body-only pub-dir) | ||
| 3056 | "Make a copy with not-exporting stuff removed. | 3055 | "Make a copy with not-exporting stuff removed. |
| 3057 | The purpose of this function is to provide a way to export the source | 3056 | The purpose of this function is to provide a way to export the source |
| 3058 | Org file of a webpage in Org format, but with sensitive and/or irrelevant | 3057 | Org file of a webpage in Org format, but with sensitive and/or irrelevant |