commit 1be071c635c19d1efcaeb8027df53f9a560f9c8e
parent 40ba0b16d0ec32160433c08e3b0c848ad687af78
Author: Iqbal Ansari <iqbalansari02@yahoo.com>
Date: Mon, 13 Mar 2017 15:59:55 +0530
Mark custom emojis in emoji-data
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/emojify.el b/emojify.el
@@ -761,7 +761,9 @@ and then `emojify-emojis'."
;; Add the emoji text to data, this makes the values
;; of the `emojify-emojis' standalone containing all
;; data about the emoji
- (ht-set! data "emoji" emoji)))
+ (ht-set! data "emoji" emoji)
+ (ht-set! data "custom" (and emojify--user-emojis
+ (ht-get emojify--user-emojis emoji)))))
;; Clear completion candidates cache
(setq emojify--completing-candidates-cache nil))