commit 2fb487bde68125a36ae03da7e4fa72c52e020ff7
parent ec4270188372e41fb083537ccb72fd5ef1ff2bcf
Author: Iqbal Ansari <iqbalansari02@yahoo.com>
Date: Mon, 5 Sep 2016 17:54:19 +0530
Display `pretty-symbols` style emoji only if prettify-symbol-mode is enabled
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/emojify.el b/emojify.el
@@ -429,6 +429,7 @@ This returns non-nil if the region is valid according to `emojify-program-contex
(or (and (string= (ht-get emoji "style") "unicode")
(memql 'unicode emojify-emoji-styles))
(and (string= (ht-get emoji "style") "pretty-symbols")
+ (bound-and-true-p prettify-symbols-mode)
(memql 'pretty-symbols emojify-emoji-styles)))
;; Display any other style in all contexts except for
;; pretty-symbols emoji