aboutsummaryrefslogtreecommitdiff
path: root/lisp/hcel-utils.el
diff options
context:
space:
mode:
authorYuchen Pei <hi@ypei.me>2022-09-06 11:21:51 +1000
committerYuchen Pei <hi@ypei.me>2022-09-06 11:21:51 +1000
commit0f77cab1b303bd23e84a48952834d7d607c089bd (patch)
treeeae3419555fd92a12e14d3fc9f92267d9e1b4e77 /lisp/hcel-utils.el
parent6f522c08939cfbe5f2993a093dd8302aa438fb57 (diff)
Adding hcel minor mode and find references in outline mode
Diffstat (limited to 'lisp/hcel-utils.el')
-rw-r--r--lisp/hcel-utils.el6
1 files changed, 4 insertions, 2 deletions
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
"")))))))