From: Dave Love Date: Sat, 6 Sep 2003 17:34:11 +0000 (+0000) Subject: (ielm-mode-hook): Add :options. X-Git-Tag: ttn-vms-21-2-B4~8888 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=10fea268edb45b40533e0801bdc316fb7375fb2a;p=emacs.git (ielm-mode-hook): Add :options. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index df977ff98a2..c8370dbb0f5 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,11 @@ +2003-09-06 Dave Love + + * ielm.el (ielm-mode-hook): Add :options. + + * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info-function): + New. + (eldoc-print-current-symbol-info): Use it. + 2003-09-04 Nick Roberts * gdb-ui.el (gud-display1): Use gud-call to prevent extra prompt diff --git a/lisp/ielm.el b/lisp/ielm.el index b03820616ab..aa60d5de6c3 100644 --- a/lisp/ielm.el +++ b/lisp/ielm.el @@ -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 @@ such as `edebug-defun' to work with such inputs." (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)