From 45dfdedbce47aa72c9f7f9f146b422236e9b9e23 Mon Sep 17 00:00:00 2001 From: Nicholas Vollmer Date: Thu, 13 Aug 2020 14:20:05 -0400 Subject: [PATCH] org-eldoc: (org-eldoc-documentation-function): set `eldoc-documentation-functions' * contrib/lisp/org-eldoc.el (org-eldoc-documentation-function): b2b587387 did not set eldoc-documentation-functions, resulting in `eldoc--invoke-strategy' throwing a void-fucntion error. --- contrib/lisp/org-eldoc.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/contrib/lisp/org-eldoc.el b/contrib/lisp/org-eldoc.el index aa1dcb41b..ce0b7ddc2 100644 --- a/contrib/lisp/org-eldoc.el +++ b/contrib/lisp/org-eldoc.el @@ -138,7 +138,8 @@ (string= lang "emacs-lisp") (string= lang "elisp")) (if (fboundp 'elisp-eldoc-documentation-function) (elisp-eldoc-documentation-function) - (let (eldoc-documentation-function) + (let ((eldoc-documentation-functions + '(elisp-eldoc-var-docstring elisp-eldoc-funcall))) (eldoc-print-current-symbol-info)))) ((or (string= lang "c") ;; http://github.com/nflath/c-eldoc -- 2.28.0