]> code.delx.au - gnu-emacs/blobdiff - lisp/ielm.el
Introduce global-eldoc-mode. Move Elisp-specific code to elisp-mode.el.
[gnu-emacs] / lisp / ielm.el
index d6d742875d671ea3bed8a3cc462c69b351e087fc..37e66ccc61133638f3d652065869528420fb64af 100644 (file)
@@ -541,7 +541,9 @@ Customized bindings may be defined in `ielm-map', which currently contains:
   (setq comint-process-echoes nil)
   (set (make-local-variable 'completion-at-point-functions)
        '(comint-replace-by-expanded-history
-         ielm-complete-filename lisp-completion-at-point))
+         ielm-complete-filename elisp-completion-at-point))
+  (setq-local eldoc-documentation-function
+              #'elisp-eldoc-documentation-function)
   (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)