# HG changeset patch # User Dave Love # Date 1062869615 0 # Node ID 2683a7145cebe394241b50777d163a43ad953464 # Parent d776a9884cefe6ccc5b00810405099a171f39845 (ielm-mode-hook): Add :options. diff -r d776a9884cef -r 2683a7145ceb lisp/ielm.el --- a/lisp/ielm.el Sat Sep 06 17:32:31 2003 +0000 +++ b/lisp/ielm.el Sat Sep 06 17:33:35 2003 +0000 @@ -30,29 +30,8 @@ ;; Input is handled by the comint package, and output is passed ;; through the pretty-printer. -;; To install: copy this file to a directory in your load-path, and -;; add the following line to your .emacs file: -;; -;; (autoload 'ielm "ielm" "Start an inferior Emacs Lisp session" t) -;; -;; For completion to work, the comint.el from Emacs 19.23 is -;; required. If you do not have it, or if you are running Lemacs, -;; also add the following code to your .emacs: -;; -;; (setq ielm-mode-hook -;; '(lambda nil -;; (define-key ielm-map "\t" -;; '(lambda nil (interactive) (or (ielm-tab) -;; (lisp-complete-symbol)))))) - ;; To start: M-x ielm. Type C-h m in the *ielm* buffer for more info. -;; The latest version is available by WWW from -;; http://mathssun5.lancs.ac.uk:2080/~maa036/elisp/dir.html -;; or by anonymous FTP from -;; /anonymous@wingra.stat.wisc.edu:pub/src/emacs-lisp/ielm.el.gz -;; or from the author: David M. Smith - ;;; Code: (require 'comint) @@ -95,6 +74,7 @@ (defcustom ielm-mode-hook nil "*Hooks to be run when IELM (`inferior-emacs-lisp-mode') is started." + :options '(turn-on-eldoc-mode) :type 'hook :group 'ielm)