emacs-emojify

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

commit 469b35e55d119828d34e273c8cb4e0f01152a8a3
parent 9e487aff8465002645b1168d88b367c0a7f441bd
Author: Iqbal Ansari <iqbalansari02@yahoo.com>
Date:   Mon,  5 Sep 2016 12:05:21 +0530

Fix `emojify-buffer-p` check for ephemeral buffers

Diffstat:
Memojify.el | 5+----
1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/emojify.el b/emojify.el @@ -321,10 +321,7 @@ Returns non-nil if the buffer's major mode is part of `emojify-inhibit-major-mod can customize `emojify-inhibit-major-modes' and `emojify-inhibit-in-buffer-functions' to disabled emojify in additional buffers." (not (or emojify-inhibit-emojify-in-current-buffer-p - ;; Even though `emojify-apropos-mode' buffers are ephemeral - ;; we want to display emojis in them - (and (equal major-mode 'emojify-apropos-mode) - (emojify-ephemeral-buffer-p (current-buffer))) + (emojify-ephemeral-buffer-p (current-buffer)) (emojify-inhibit-major-mode-p (current-buffer)) (buffer-base-buffer buffer) (run-hook-with-args-until-success 'emojify-inhibit-in-buffer-functions buffer))))