Merge branch 'maint'

This commit is contained in:
Nicolas Goaziou 2015-10-01 21:43:54 +02:00
commit a6350c4245
1 changed files with 6 additions and 4 deletions

View File

@ -18975,10 +18975,12 @@ removed, nil otherwise."
(end (or end (point-max))))
(org-remove-if
(lambda (o)
(and (>= (overlay-start o) beg)
(<= (overlay-end o) end)
(progn (delete-overlay o)
(or removedp (setq removedp t)))))
(cond ((not (overlay-buffer o)) (delete-overlay o) t)
((and (>= (overlay-start o) beg)
(<= (overlay-end o) end))
(delete-overlay o)
(unless removedp (setq removedp t)))
(t nil)))
org-latex-fragment-image-overlays)))
removedp))