C-e H brings up the exported html in an html-mode buffer, but C-e L
brings up a fundamental-mode buffer rather than latex-mode. Is this an
oversight or is there a reason for this?

Dan

p.s. I could use org-export-latex-after-save-hook, or a change to the
source could be something like this

        Modified lisp/org-latex.el
diff --git a/lisp/org-latex.el b/lisp/org-latex.el
index 67d9745..3d31248 100644
--- a/lisp/org-latex.el
+++ b/lisp/org-latex.el
@@ -797,6 +797,7 @@ when PUB-DIR is set, use this as the publishing directory."
     (org-export-latex-fix-inputenc)
     (run-hooks 'org-export-latex-after-save-hook)
     (goto-char (point-min))
+    (latex-mode)
     (or (org-export-push-to-kill-ring "LaTeX")
        (message "Exporting to LaTeX...done"))
     (prog1



_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to