From e2c98ea254c83e2524cb67ce1174158da2d2f784 Mon Sep 17 00:00:00 2001 From: stardiviner Date: Thu, 9 May 2024 01:05:00 +0800 Subject: [PATCH] Fix get current tag name when the tag is an icon beautified by "org-tag-beautify" --- org-tag-eldoc.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org-tag-eldoc.el b/org-tag-eldoc.el index 946e159..c47992c 100644 --- a/org-tag-eldoc.el +++ b/org-tag-eldoc.el @@ -63,7 +63,7 @@ (defun org-tag-eldoc-tag-explanation (&optional tag) "Display tag explanation in Eldoc when point on TAG." - (let ((tag (or tag (thing-at-point 'symbol)))) + (let ((tag (or tag (buffer-substring-no-properties (thing-at-point 'symbol))))) (if-let ((explanation (cdr (assoc tag org-tag-eldoc-tag-explanations-alist)))) explanation (let ((explanation (seq-some -- 2.11.4.GIT