From 88a52f52ea19c037297e12dc68cb4513c23904d8 Mon Sep 17 00:00:00 2001 From: John Miller Date: Sat, 1 Jun 2019 09:51:19 -0500 Subject: [PATCH] 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. --- lisp/ein-completer.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/ein-completer.el b/lisp/ein-completer.el index a783b9d..0a498e1 100644 --- a/lisp/ein-completer.el +++ b/lisp/ein-completer.el @@ -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)))