commit a2a99ae1c33a1aa986db7663f481397ecd242bda
parent 6a07a8af7c93075e36fd2e21974a759424a42349
Author: Iqbal Ansari <iqbalansari02@yahoo.com>
Date: Sun, 1 Nov 2015 19:25:51 +0530
Allow emojifiying text immediately before a closing paren
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/emojify.el b/emojify.el
@@ -281,6 +281,7 @@ since our mechanisms do not work in it."
(and (or (not (char-before beg))
;; 32 space since ? (? followed by a space) is not readable
;; 34 is " since?" confuses font-lock
+ ;; 41 is ) since?) (extra paren) confuses most packages
(memq (char-syntax (char-before beg))
;; space
'(32
@@ -304,6 +305,8 @@ since our mechanisms do not work in it."
?-
;; punctuation
?.
+ ;; closing braces
+ 41
;; comment end
?>)))))