diff --git a/modules/lang/emacs-lisp/config.el b/modules/lang/emacs-lisp/config.el index a255f642e..4fab52087 100644 --- a/modules/lang/emacs-lisp/config.el +++ b/modules/lang/emacs-lisp/config.el @@ -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)