branch: master
commit e987cef45d3f340b23fcd17d7f8eff4cdd15c979
Author: Oleh Krehel <[email protected]>
Commit: Oleh Krehel <[email protected]>

    counsel.el (counsel-read-setq-expression): Fix Eldoc nag
    
    Fixes #549
---
 counsel.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/counsel.el b/counsel.el
index 171cd54..3d09b37 100644
--- a/counsel.el
+++ b/counsel.el
@@ -485,6 +485,8 @@ Update the minibuffer with the amount of lines collected 
every
          (sym-value (symbol-value sym))
          (expr (minibuffer-with-setup-hook
                    (lambda ()
+                     (add-function :before-until (local 
'eldoc-documentation-function)
+                                   #'elisp-eldoc-documentation-function)
                      (add-hook 'completion-at-point-functions 
#'elisp-completion-at-point nil t)
                      (run-hooks 'eval-expression-minibuffer-setup-hook)
                      (goto-char (minibuffer-prompt-end))

Reply via email to