emacs-emojify

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

commit 83091cc187dabb442b1246ac9772d9f3bedef48f
parent f0e09b494ca6e6c48d369c47df56b9fc192e2b61
Author: Iqbal Ansari <iqbalansari02@yahoo.com>
Date:   Sun, 17 Mar 2019 10:45:29 +0530

Fallback to `emojify-emoji-styles` if styles are not explicitly provided in emojify-string

This ensures that by default emojify-string's behavior is consistent with the
rest of the package

Diffstat:
Memojify.el | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/emojify.el b/emojify.el @@ -1232,7 +1232,7 @@ inherited from TARGET if provided. See also `emojify--get-text-display-props'." (insert string) (let ((beg (point-min)) (end (point-max)) - (styles (or styles '(unicode)))) + (styles (or styles emojify-emoji-styles))) (seq-doseq (regexp (apply #'append (when emojify--user-emojis-regexp (list emojify--user-emojis-regexp))