From 31f3725ba8ef4592db46d9b5a697c85b4a82c39c Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Thu, 30 Mar 2017 12:46:46 +0200 Subject: [PATCH] Fix `org-startup-with-latex-preview' handling * lisp/org.el (org-mode): When honoring `org-startup-with-latex-preview', make sure to preview the whole buffer. Reported-by: Diego Nicola Barbato --- lisp/org.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/org.el b/lisp/org.el index f96bdfc6a..e64480cbe 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -5679,7 +5679,7 @@ The following commands are available: (when org-startup-align-all-tables (org-table-map-tables #'org-table-align t)) (when org-startup-with-inline-images (org-display-inline-images)) - (when org-startup-with-latex-preview (org-toggle-latex-fragment)) + (when org-startup-with-latex-preview (org-toggle-latex-fragment '(16))) (unless org-inhibit-startup-visibility-stuff (org-set-startup-visibility)) (when org-startup-truncated (setq truncate-lines t)) (when org-startup-indented (require 'org-indent) (org-indent-mode 1))