org.el (org-ctrl-c-ctrl-c): Don't remove LaTeX fragments overlays

* org.el (org-ctrl-c-ctrl-c): Don't remove LaTeX fragments overlays.
This commit is contained in:
Bastien Guerry 2014-07-27 19:44:40 +02:00
parent c8a80c23a3
commit 9e006d1128
1 changed files with 1 additions and 3 deletions

View File

@ -20552,11 +20552,9 @@ This command does many different things, depending on context:
(interactive "P") (interactive "P")
(cond (cond
((or (and (boundp 'org-clock-overlays) org-clock-overlays) ((or (and (boundp 'org-clock-overlays) org-clock-overlays)
org-occur-highlights org-occur-highlights)
org-latex-fragment-image-overlays)
(and (boundp 'org-clock-overlays) (org-clock-remove-overlays)) (and (boundp 'org-clock-overlays) (org-clock-remove-overlays))
(org-remove-occur-highlights) (org-remove-occur-highlights)
(org-remove-latex-fragment-image-overlays)
(message "Temporary highlights/overlays removed from current buffer")) (message "Temporary highlights/overlays removed from current buffer"))
((and (local-variable-p 'org-finish-function (current-buffer)) ((and (local-variable-p 'org-finish-function (current-buffer))
(fboundp org-finish-function)) (fboundp org-finish-function))