commit d50f12e75754c20e050887272bf4e0e01cc6d97c
parent 446a8ec8f74827f591fa204741eda68c5609c14f
Author: Iqbal Ansari <iqbalansari02@yahoo.com>
Date: Sun, 9 Jul 2017 12:19:50 +0530
Inhibit display of emojis beginning with ':' in org headlines
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/emojify.el b/emojify.el
@@ -480,7 +480,7 @@ and end position of emoji text respectively.
Easiest would have to inspect face at point but unfortunately, there is no
way to guarantee that we run after font-lock"
(and (memq major-mode '(org-mode org-agenda-mode))
- (string-match-p ":.*:" match)
+ (string-match-p ":[^:]+[:]?" match)
(org-at-heading-p)
(not (save-excursion
(save-match-data