emacs-emojify

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

commit 418065d8433a6d902e0c107cfa8033b174b5f899
parent ea2e5de960c2cf6977f6c10a741582bea4e2f070
Author: Iqbal Ansari <iqbal.ansari@ignitesol.com>
Date:   Mon, 26 Oct 2015 11:42:20 +0530

It is okay if emoji immediately follows/precedes a string quote

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

diff --git a/emojify.el b/emojify.el @@ -50,10 +50,10 @@ (nth 8 (syntax-ppss))))) (or (not (char-before start)) ;; 32 space since ? i.e. (? followed by a space is not readable) - (memq (char-syntax (char-before start)) '(32 ?- ?<))) + (memq (char-syntax (char-before start)) '(32 ?- ?< ?"))) (or (not (char-after end)) ;; 32 space since ? i.e. (? followed by a space is not readable) - (memq (char-syntax (char-after end)) '(32 ?- ?>))) + (memq (char-syntax (char-after end)) '(32 ?- ?> ?"))) (or (not (equal major-mode 'org-mode)) (equal (face-at-point) 'org-tag))) ;; TODO: Remove double checks