commit 7817d2e1d3354b9951934cd9cf535b169ea74c3e
parent 02f4be7bce2b5b18928ce7c7d44b1fb5eba67855
Author: Iqbal Ansari <iqbal.ansari@ignitesol.com>
Date: Fri, 16 Sep 2016 14:40:29 +0530
Do not try emojifying a text, if not emoji config is found for it
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/emojify.el b/emojify.el
@@ -935,7 +935,8 @@ TODO: Skip emojifying if region is already emojified."
(match (match-string-no-properties 0))
(buffer (current-buffer))
(emoji (emojify-get-emoji match)))
- (when (and (memql (intern (ht-get emoji "style"))
+ (when (and emoji
+ (memql (intern (ht-get emoji "style"))
emojify-emoji-styles)
;; Skip displaying this emoji if the its bounds are
;; already part of an existing emoji. Since the emojis