emacs-emojify

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

commit c1e43885d4c561e4545f6f3567d74bc8c293dfca
parent 005b4da0b4809194b03de3e2705b63efb31688e0
Author: Iqbal Ansari <iqbalansari02@yahoo.com>
Date:   Sun,  3 May 2020 14:04:14 +0530

Fix the regex used to identity org-mode tags

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

diff --git a/emojify.el b/emojify.el @@ -510,7 +510,8 @@ way to guarantee that we run after font-lock" (save-excursion (save-match-data (goto-char beg) - (looking-at ":[^:]+:[\s-]*$"))))) + ;; Regex for tag picked from https://code.orgmode.org/bzg/org-mode/src/master/lisp/org.el#L589-L590 + (looking-at ":[[:alnum:]_@#%:]+:[\s-]*$"))))) (defun emojify-in-org-list-p (text beg &rest ignored) "Determine whether the point is in `org-mode' list.