counsel-set-variable: There is no ElDoc support in this buffer #549
For the variables that have a list of available options (defcustoms), counsel-set-variable works fine. But for other variables, while it still works, I always get a nag: "There is no ElDoc support in this buffer".
Actually I got this nag even for a defcustom variable
I have set it to nil in my config as below:
(setq ivy-extra-directories nil) ; default value: ("../" "./")
With point on
I have added
That "no ElDoc support" message is always displayed when
That works fine when I do
The text was updated successfully, but these errors were encountered:
Below seems to fix this
diff --git a/counsel.el b/counsel.el index 171cd54..053850b 100644 --- a/counsel.el +++ b/counsel.el @@ -485,6 +485,7 @@ Update the minibuffer with the amount of lines collected every (sym-value (symbol-value sym)) (expr (minibuffer-with-setup-hook (lambda () + (setq-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))
But I do not understand why I need this hack.