Eldoc support should only show the function signature.

Returning the entire help string can be distracting as the minibuffers expands
to try to fit everything on string. The point of eldoc is to help with function
signature.
This commit is contained in:
John Miller 2019-06-01 09:51:19 -05:00
parent 609abd9a5e
commit 88a52f52ea

View file

@ -145,7 +145,7 @@
(ein:and-let* ((func (ein:function-at-point))
(kernel (ein:get-kernel)))
(ein:aif (gethash func (ein:$kernel-oinfo-cache kernel))
(ein:kernel-construct-help-string it)
(ein:kernel-construct-defstring it)
(ein:completions--build-oinfo-cache (list func))
nil)))