emacs-emojify

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

commit 7607fe6020d0d48ef2dc647ee4bb24827e982965
parent 465422e7c9ad9be6c0da8ed0aed2814c4f4d5e01
Author: Iqbal Ansari <iqbalansari02@yahoo.com>
Date:   Sun,  6 Mar 2016 10:44:59 +0530

Prefer last overlay face while calculating backgrounds for emojis in overlay

Diffstat:
Memojify.el | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/emojify.el b/emojify.el @@ -712,7 +712,7 @@ directly defined on the face." (and (overlay-get overlay 'face) (emojify--overlay-face-background (overlay-get overlay 'face)))) (emojify-overlays-at beg t))))) - (car overlay-backgrounds))) + (car (last overlay-backgrounds)))) (defun emojify--face-background-at-point (beg) "Get the background color for emoji at BEG."