Merge branch 'maint'

This commit is contained in:
Nicolas Goaziou 2016-02-05 18:39:49 +01:00
commit 422c5ca3b9
1 changed files with 2 additions and 2 deletions

View File

@ -19007,8 +19007,8 @@ Register new overlay in `org-latex-fragment-image-overlays'."
(overlay-put ov 'evaporate t)
(overlay-put ov
'modification-hooks
(list (lambda (o flag beg end &optional l)
(unless flag
(list (lambda (o after _beg _end &optional _l)
(unless after
(org-remove-latex-fragment-image-overlays
(overlay-start o) (overlay-end o))))))
(if (featurep 'xemacs)