From ad908b0728d8663667dc877ba91b8a7d7008be7d Mon Sep 17 00:00:00 2001 From: Yuchen Pei Date: Fri, 9 Sep 2022 10:25:02 +1000 Subject: fixed a minor bug --- lisp/hcel-source.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3