emacs-emojify

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

commit df8e3cb7a59588ae1dced259feca7611fb42df4c
parent 12c0fb83cfa9a7d26338b4cee0d1cb26757add18
Author: Iqbal Ansari <iqbalansari02@yahoo.com>
Date:   Sun, 15 Nov 2015 11:57:56 +0530

Redisplay emojis only in current buffer when emoji style changes

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

diff --git a/emojify.el b/emojify.el @@ -220,11 +220,8 @@ VALUE is the value to be used as preferred style, see `emojify-emoji-style'" ;; If possible resize emojis, TODO: This should be done in a hook (when (fboundp 'emojify-redisplay-emojis) - (seq-each (lambda (buffer) - (with-current-buffer buffer - (when emojify-mode - (emojify-redisplay-emojis)))) - (buffer-list)))) + (when emojify-mode + (emojify-redisplay-emojis)))) ;; TODO: Make this a list (defcustom emojify-emoji-style