diff options
| author | Tassilo Horn | 2020-07-23 22:05:26 +0200 |
|---|---|---|
| committer | Tassilo Horn | 2020-07-23 22:05:26 +0200 |
| commit | f7ebba5724ef5bd52af02371b4ad3f0851958a3e (patch) | |
| tree | 53d12a241262aa86bfac964856b8d811038f46f8 | |
| parent | 0d7d422b767cdfa1278235ea914ec78252d04a40 (diff) | |
| download | emacs-f7ebba5724ef5bd52af02371b4ad3f0851958a3e.tar.gz emacs-f7ebba5724ef5bd52af02371b4ad3f0851958a3e.zip | |
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).
| -rw-r--r-- | lisp/ielm.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/ielm.el b/lisp/ielm.el index 47c5158ce41..b3654b91d37 100644 --- a/lisp/ielm.el +++ b/lisp/ielm.el | |||
| @@ -537,7 +537,9 @@ Customized bindings may be defined in `ielm-map', which currently contains: | |||
| 537 | '(comint-replace-by-expanded-history | 537 | '(comint-replace-by-expanded-history |
| 538 | ielm-complete-filename elisp-completion-at-point)) | 538 | ielm-complete-filename elisp-completion-at-point)) |
| 539 | (add-hook 'eldoc-documentation-functions | 539 | (add-hook 'eldoc-documentation-functions |
| 540 | #'elisp-eldoc-documentation-function nil t) | 540 | #'elisp-eldoc-var-docstring nil t) |
| 541 | (add-hook 'eldoc-documentation-functions | ||
| 542 | #'elisp-eldoc-funcall nil t) | ||
| 541 | (set (make-local-variable 'ielm-prompt-internal) ielm-prompt) | 543 | (set (make-local-variable 'ielm-prompt-internal) ielm-prompt) |
| 542 | (set (make-local-variable 'comint-prompt-read-only) ielm-prompt-read-only) | 544 | (set (make-local-variable 'comint-prompt-read-only) ielm-prompt-read-only) |
| 543 | (setq comint-get-old-input 'ielm-get-old-input) | 545 | (setq comint-get-old-input 'ielm-get-old-input) |