From 53b34e6d8c97b2efcc78127112dba9e74871592a Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Fri, 5 Feb 2016 18:39:06 +0100 Subject: [PATCH] Silence byte-compiler * lisp/org.el (org--format-latex-make-overlay): Silence byte-compiler. --- lisp/org.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/org.el b/lisp/org.el index a48ae705b..5f92a15c8 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -19087,8 +19087,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)