From 0f77cab1b303bd23e84a48952834d7d607c089bd Mon Sep 17 00:00:00 2001 From: Yuchen Pei Date: Tue, 6 Sep 2022 11:21:51 +1000 Subject: Adding hcel minor mode and find references in outline mode --- lisp/hcel-utils.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'lisp/hcel-utils.el') diff --git a/lisp/hcel-utils.el b/lisp/hcel-utils.el index 9db5d81..9526521 100644 --- a/lisp/hcel-utils.el +++ b/lisp/hcel-utils.el @@ -121,8 +121,10 @@ Example of an idSrcSpan: (replace-regexp-in-string "\n" " " (mapconcat (lambda (component) - (or (alist-get 'name component) - (alist-get 'contents component))) + (propertize + (or (alist-get 'name component) + (alist-get 'contents component)) + 'internal-id (alist-get 'internalId component))) components ""))))))) -- cgit v1.2.3