Hi Dan, thanks, I have fixed this, almost like you propose.
- Carsten On Apr 24, 2010, at 8:38 PM, Dan Davison wrote:
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. [email protected] http://lists.gnu.org/mailman/listinfo/emacs-orgmode
- Carsten _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. [email protected] http://lists.gnu.org/mailman/listinfo/emacs-orgmode
