Browse Source

Merge branch 'maint'

Nicolas Goaziou 9 years ago
parent
commit
422c5ca3b9
1 changed files with 2 additions and 2 deletions
  1. 2 2
      lisp/org.el

+ 2 - 2
lisp/org.el

@@ -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)