30 |
;; Input is handled by the comint package, and output is passed |
;; Input is handled by the comint package, and output is passed |
31 |
;; through the pretty-printer. |
;; through the pretty-printer. |
32 |
|
|
|
;; 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)))))) |
|
|
|
|
33 |
;; To start: M-x ielm. Type C-h m in the *ielm* buffer for more info. |
;; To start: M-x ielm. Type C-h m in the *ielm* buffer for more info. |
34 |
|
|
|
;; 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 <maa036@lancaster.ac.uk> |
|
|
|
|
35 |
;;; Code: |
;;; Code: |
36 |
|
|
37 |
(require 'comint) |
(require 'comint) |
74 |
|
|
75 |
(defcustom ielm-mode-hook nil |
(defcustom ielm-mode-hook nil |
76 |
"*Hooks to be run when IELM (`inferior-emacs-lisp-mode') is started." |
"*Hooks to be run when IELM (`inferior-emacs-lisp-mode') is started." |
77 |
|
:options '(turn-on-eldoc-mode) |
78 |
:type 'hook |
:type 'hook |
79 |
:group 'ielm) |
:group 'ielm) |
80 |
|
|