]> code.delx.au - gnu-emacs/blobdiff - lisp/ielm.el
Use eldoc-documentation-functions
[gnu-emacs] / lisp / ielm.el
index dd02778b417c4f9e9ef96abff10f4a4673c65c40..278a63724a381e121b1481363a6f1c4f5b54dfd4 100644 (file)
@@ -541,8 +541,8 @@ Customized bindings may be defined in `ielm-map', which currently contains:
   (set (make-local-variable 'completion-at-point-functions)
        '(comint-replace-by-expanded-history
          ielm-complete-filename elisp-completion-at-point))
-  (add-function :before-until (local 'eldoc-documentation-function)
-                #'elisp-eldoc-documentation-function)
+  (add-hook 'eldoc-documentation-functions
+            #'elisp-eldoc-documentation-function 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)