Merge pull request #4743 from nbfalcon/bugfix/eldoc-variable-value-not-displayed
Emacs lisp: fix variable value display in eldoc
This commit is contained in:
commit
01b447a12c
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ employed so that flycheck still does *some* helpful linting.")
|
|||
"Display variable value next to documentation in eldoc."
|
||||
:around #'elisp-get-var-docstring
|
||||
(when-let (ret (funcall orig-fn sym))
|
||||
(if (fboundp sym)
|
||||
(if (boundp sym)
|
||||
(concat ret " "
|
||||
(let* ((truncated " [...]")
|
||||
(print-escape-newlines t)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue