commit 558044f292d7bf08c5c77419661b9fd61b0df4be
parent 2b3896133df7b2a5e23e2ee7bc86646f2893debd
Author: Iqbal Ansari <iqbalansari02@yahoo.com>
Date: Sat, 31 Oct 2015 18:24:21 +0530
Do not enable emojify mode in dired-mode
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/emojify.el b/emojify.el
@@ -93,7 +93,8 @@ Possible values are
;; Customizations to control the enabling of emojify-mode
(defcustom emojify-inhibit-major-modes
- '(doc-view-mode
+ '(dired-mode
+ doc-view-mode
pdf-view-mode
image-mode
help-mode
@@ -568,6 +569,7 @@ of `after-change-functions' to understand the meaning of BEG, END and LEN."
;; Turn off
(emojify-turn-off-emojify-mode)))
+;; While this is convenient it is not really what we want
(define-globalized-minor-mode global-emojify-mode
emojify-mode emojify-turn-on-emojify-mode
:init-value nil)