aboutsummaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorYuchen Pei <hi@ypei.me>2022-09-09 10:25:02 +1000
committerYuchen Pei <hi@ypei.me>2022-09-09 10:25:02 +1000
commitad908b0728d8663667dc877ba91b8a7d7008be7d (patch)
treed3471fa0ba8d006ac670a790014cd68018a41625 /lisp
parent7997c1f9668a08888ef7d0afb5c41cf4039ba6d4 (diff)
fixed a minor bug
Diffstat (limited to 'lisp')
-rw-r--r--lisp/hcel-source.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/hcel-source.el b/lisp/hcel-source.el
index 587f2c2..b92f954 100644
--- a/lisp/hcel-source.el
+++ b/lisp/hcel-source.el
@@ -211,9 +211,10 @@ If NO-JUMP is non-nil, just open the source and does not jump to the location wi
;; eldoc
(defun hcel-eldoc-id-type (cb)
(when-let ((symbol (hcel-occ-symbol-at-point))
+ (doc (hcel-type-at-point))
(docstring
(propertize
- (hcel-type-at-point)
+ doc
'package-id hcel-package-id
'module-path hcel-module-path)))
(funcall cb docstring