[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/helm b49cc3c00c 1/2: Use doc in mode-line for helm-eval
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/helm b49cc3c00c 1/2: Use doc in mode-line for helm-eval |
Date: |
Sun, 31 Jul 2022 12:58:39 -0400 (EDT) |
branch: elpa/helm
commit b49cc3c00c1a7e21da51cbecf13aed6efc67304e
Author: Thierry Volpiatto <thievol@posteo.net>
Commit: Thierry Volpiatto <thievol@posteo.net>
Use doc in mode-line for helm-eval
---
helm-eval.el | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/helm-eval.el b/helm-eval.el
index 2ee3f71600..72b7884bf5 100644
--- a/helm-eval.el
+++ b/helm-eval.el
@@ -180,11 +180,12 @@ Should take one arg: the string to display."
(defun helm-eval-expression (arg)
"Preconfigured `helm' for `helm-source-evaluation-result'."
(interactive "P")
- (helm :sources (helm-build-evaluation-result-source)
- :input (when arg (thing-at-point 'sexp))
- :buffer "*helm eval*"
- :echo-input-in-header-line nil
- :history 'read-expression-history))
+ (let ((helm-elisp-help-function #'helm-elisp-show-doc-modeline))
+ (helm :sources (helm-build-evaluation-result-source)
+ :input (when arg (thing-at-point 'sexp))
+ :buffer "*helm eval*"
+ :echo-input-in-header-line nil
+ :history 'read-expression-history)))
(defvar eldoc-idle-delay)
;;;###autoload