Nicolas Goaziou пре 9 година
родитељ
комит
422c5ca3b9
1 измењених фајлова са 2 додато и 2 уклоњено
  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)