emacs-emojify

fork of https://github.com/iqbalansari/emacs-emojify
Log | Files | Refs | LICENSE

commit dbb26d2e40dad619e2f55fbec415d9db42afdb95
parent 3245895ec8f717dad80f39b224d78a867c70920f
Author: Iqbal Ansari <iqbal.ansari@ignitesol.com>
Date:   Mon, 26 Oct 2015 14:32:58 +0530

Ignore more buffers

Diffstat:
Memojify.el | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/emojify.el b/emojify.el @@ -1,5 +1,5 @@ ;; -*- lexical-binding: t; -*- -;; Another plugin to waste time in Emacs :sweat: :worried: :unamused: :p :) :p :p +;; Another plugin to waste time in Emacs :sweat: :worried: :unamused: :p :) :p ;; ;; TODO: Custom images ;; Benchmark @@ -19,7 +19,8 @@ (defun emojify--emojify-buffer-p () (not (or (minibufferp) - (string-match-p "\\*helm" (buffer-name))))) + (string-match-p "\\*helm" (buffer-name)) + (memq major-mode '(doc-view-mode pdf-view-mode image-mode))))) ;; Can be one of image, unicode, ascii (defvar emoji-substitution-style 'image)