emacs-emojify

fork of https://github.com/iqbalansari/emacs-emojify
Log | Files | Refs | LICENSE

commit 6e99c9dd60113406545ff686e48a2f6e16283235
parent b78eb9550db1447a18feb81b25d9f79c24389716
Author: Iqbal Ansari <iqbalansari02@yahoo.com>
Date:   Sun, 25 Sep 2016 22:56:21 +0530

Do not inhibit emojification of areas larger than 100000

`with-timeout` ensures we do not run for very long time so this was
redundant

Diffstat:
Memojify.el | 7+++----
1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/emojify.el b/emojify.el @@ -1089,10 +1089,9 @@ Redisplay emojis in the visible region if BEG and END are not specified" (let* ((area (emojify--get-relevant-region)) (beg (or beg (car area))) (end (or end (cdr area)))) - (unless (> (- end beg) 100000) - (emojify-execute-ignoring-errors-unless-debug - (emojify-undisplay-emojis-in-region beg end) - (emojify-display-emojis-in-region beg end))))) + (emojify-execute-ignoring-errors-unless-debug + (emojify-undisplay-emojis-in-region beg end) + (emojify-display-emojis-in-region beg end)))) (defun emojify-after-change-extend-region-function (beg end _len) "Extend the region to be emojified.