emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master f7ebba5: Don't call undefined function elisp-eldoc-documentation-


From: Tassilo Horn
Subject: master f7ebba5: Don't call undefined function elisp-eldoc-documentation-function (bug#42493)
Date: Thu, 23 Jul 2020 16:08:15 -0400 (EDT)

branch: master
commit f7ebba5724ef5bd52af02371b4ad3f0851958a3e
Author: Tassilo Horn <tsdh@gnu.org>
Commit: Tassilo Horn <tsdh@gnu.org>

    Don't call undefined function elisp-eldoc-documentation-function (bug#42493)
    
    * lisp/ielm.el (inferior-emacs-lisp-mode): Add
    `elisp-eldoc-var-docstring' and `elisp-eldoc-funcall' as
    `eldoc-documentation-functions' instead of the undefined
    elisp-eldoc-documentation-function (bug#42493).
---
 lisp/ielm.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/lisp/ielm.el b/lisp/ielm.el
index 47c5158..b3654b9 100644
--- a/lisp/ielm.el
+++ b/lisp/ielm.el
@@ -537,7 +537,9 @@ Customized bindings may be defined in `ielm-map', which 
currently contains:
        '(comint-replace-by-expanded-history
          ielm-complete-filename elisp-completion-at-point))
   (add-hook 'eldoc-documentation-functions
-            #'elisp-eldoc-documentation-function nil t)
+            #'elisp-eldoc-var-docstring nil t)
+  (add-hook 'eldoc-documentation-functions
+            #'elisp-eldoc-funcall nil t)
   (set (make-local-variable 'ielm-prompt-internal) ielm-prompt)
   (set (make-local-variable 'comint-prompt-read-only) ielm-prompt-read-only)
   (setq comint-get-old-input 'ielm-get-old-input)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]