X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/dba0659c3b37a413245b424d75e8989b0bb46a07..001d88b62ecb8163a148656acb103b354ce7613a:/lisp/ielm.el diff --git a/lisp/ielm.el b/lisp/ielm.el index b035432165..278a63724a 100644 --- a/lisp/ielm.el +++ b/lisp/ielm.el @@ -1,7 +1,6 @@ -;;; -*- lexical-binding: t -*- -;;; ielm.el --- interaction mode for Emacs Lisp +;;; ielm.el --- interaction mode for Emacs Lisp -*- lexical-binding: t -*- -;; Copyright (C) 1994, 2001-2015 Free Software Foundation, Inc. +;; Copyright (C) 1994, 2001-2016 Free Software Foundation, Inc. ;; Author: David Smith ;; Maintainer: emacs-devel@gnu.org @@ -542,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)