commit 7542eaab6dbcfaafb6fec2e70c22b486941b6e90
parent 3009fb06e17fba5b5e4eacdce6390f58f864bac6
Author: Iqbal Ansari <iqbalansari02@yahoo.com>
Date: Mon, 2 Nov 2015 09:04:01 +0530
Remove all relevant text properties before trying to re-emojify a region
when point leaves
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/emojify.el b/emojify.el
@@ -406,7 +406,7 @@ mark the start and end of region containing the text."
(when (and (equal buffer (current-buffer))
(or (< match-end new-point)
(< new-point match-beginning)))
- (emojify-display-emojis-in-region match-beginning match-end))))
+ (emojify-redisplay-emojis match-beginning match-end))))
(defun emojify--get-image-display (data)
"Get the display text property to display the emoji specified in DATA as an image."