Merge branch 'bugfix'
This commit is contained in:
commit
4b647e70e6
|
@ -4900,8 +4900,6 @@ The following commands are available:
|
|||
(= (point-min) (point-max)))
|
||||
(insert "# -*- mode: org -*-\n\n"))
|
||||
(unless org-inhibit-startup
|
||||
(org-unmodified
|
||||
(when org-startup-with-beamer-mode (org-beamer-mode))
|
||||
(when (or org-startup-align-all-tables org-startup-shrink-all-tables)
|
||||
(org-table-map-tables
|
||||
(cond ((and org-startup-align-all-tables
|
||||
|
@ -4910,6 +4908,12 @@ The following commands are available:
|
|||
(org-startup-align-all-tables #'org-table-align)
|
||||
(t #'org-table-shrink))
|
||||
t))
|
||||
;; Suppress modification hooks to speed up the startup.
|
||||
;; However, do it only when text properties/overlays, but not
|
||||
;; buffer text are actually modified. We still need to track text
|
||||
;; modifications to make cache updates work reliably.
|
||||
(org-unmodified
|
||||
(when org-startup-with-beamer-mode (org-beamer-mode))
|
||||
(when org-startup-with-inline-images (org-display-inline-images))
|
||||
(when org-startup-with-latex-preview (org-latex-preview '(16)))
|
||||
(unless org-inhibit-startup-visibility-stuff (org-cycle-set-startup-visibility))
|
||||
|
|
Loading…
Reference in New Issue