commit 3b9a4bc50738bd4a64111cd58a692c3d7e4eef1b
parent 651173daddfafb6d9a84643d46c4eeb93874fe18
Author: Iqbal Ansari <iqbalansari02@yahoo.com>
Date:   Mon, 14 Dec 2015 23:08:06 +0530
Fix detection of `tuareg` as programming mode
See #12
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/emojify.el b/emojify.el
@@ -738,7 +738,7 @@ TODO: Skip emojifying if region is already emojified."
 
           (when (and (ht-contains-p emojify-emojis match)
                      ;; Display unconditionally in non-prog mode
-                     (or (not (derived-mode-p 'prog-mode))
+                     (or (not (derived-mode-p 'prog-mode 'tuareg--prog-mode))
                          ;; In prog mode enable respecting `emojify-prog-contexts'
                          (emojify-valid-prog-context-p match-beginning match-end))