aboutsummaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
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