diff options
author | Carsten Dominik <carsten.dominik@gmail.com> | 2011-10-28 10:03:33 +0200 |
---|---|---|
committer | Carsten Dominik <carsten.dominik@gmail.com> | 2011-10-28 10:03:33 +0200 |
commit | ca49e893ab03e8f6c8a494be6d830bd77d815ad6 (patch) | |
tree | bf970d4b6d085f4bd017340f0530fe7f988407fe /lisp/org-docbook.el | |
parent | 23b8111ffaacfff4b4e41bdca364472d5f695d7a (diff) |
Turn off auto insert and TeX master query for export
* lisp/org-latex.el (org-export-as-latex): Turn off auto-insert and
set TeX-master to t when creating new TeX buffers.
* lisp/org-docbook.el (org-export-as-docbook):
* lisp/org-html.el (org-export-as-html): Turn off auto-insert
when creating new buffers.
Diffstat (limited to 'lisp/org-docbook.el')
-rw-r--r-- | lisp/org-docbook.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/org-docbook.el b/lisp/org-docbook.el index e2ffe3437..e70df252e 100644 --- a/lisp/org-docbook.el +++ b/lisp/org-docbook.el @@ -474,9 +474,11 @@ publishing directory." (current-dir (if buffer-file-name (file-name-directory buffer-file-name) default-directory)) + (auto-insert nil); Avoid any auto-insert stuff for the new file (buffer (if to-buffer (cond - ((eq to-buffer 'string) (get-buffer-create "*Org DocBook Export*")) + ((eq to-buffer 'string) + (get-buffer-create "*Org DocBook Export*")) (t (get-buffer-create to-buffer))) (find-file-noselect filename))) ;; org-levels-open is a global variable |