comparison lisp/ielm.el @ 89909:68c22ea6027c

Sync to HEAD
author Kenichi Handa <handa@m17n.org>
date Fri, 16 Apr 2004 12:51:06 +0000
parents 375f2633d815
children 4c90ffeb71c5
comparison
equal deleted inserted replaced
89908:ee1402f7b568 89909:68c22ea6027c
28 28
29 ;; Provides a nice interface to evaluating Emacs Lisp expressions. 29 ;; Provides a nice interface to evaluating Emacs Lisp expressions.
30 ;; Input is handled by the comint package, and output is passed 30 ;; Input is handled by the comint package, and output is passed
31 ;; through the pretty-printer. 31 ;; through the pretty-printer.
32 32
33 ;; To install: copy this file to a directory in your load-path, and
34 ;; add the following line to your .emacs file:
35 ;;
36 ;; (autoload 'ielm "ielm" "Start an inferior Emacs Lisp session" t)
37 ;;
38 ;; For completion to work, the comint.el from Emacs 19.23 is
39 ;; required. If you do not have it, or if you are running Lemacs,
40 ;; also add the following code to your .emacs:
41 ;;
42 ;; (setq ielm-mode-hook
43 ;; '(lambda nil
44 ;; (define-key ielm-map "\t"
45 ;; '(lambda nil (interactive) (or (ielm-tab)
46 ;; (lisp-complete-symbol))))))
47
48 ;; To start: M-x ielm. Type C-h m in the *ielm* buffer for more info. 33 ;; To start: M-x ielm. Type C-h m in the *ielm* buffer for more info.
49
50 ;; The latest version is available by WWW from
51 ;; http://mathssun5.lancs.ac.uk:2080/~maa036/elisp/dir.html
52 ;; or by anonymous FTP from
53 ;; /anonymous@wingra.stat.wisc.edu:pub/src/emacs-lisp/ielm.el.gz
54 ;; or from the author: David M. Smith <maa036@lancaster.ac.uk>
55 34
56 ;;; Code: 35 ;;; Code:
57 36
58 (require 'comint) 37 (require 'comint)
59 (require 'pp) 38 (require 'pp)
93 :type 'boolean 72 :type 'boolean
94 :group 'ielm) 73 :group 'ielm)
95 74
96 (defcustom ielm-mode-hook nil 75 (defcustom ielm-mode-hook nil
97 "*Hooks to be run when IELM (`inferior-emacs-lisp-mode') is started." 76 "*Hooks to be run when IELM (`inferior-emacs-lisp-mode') is started."
77 :options '(turn-on-eldoc-mode)
98 :type 'hook 78 :type 'hook
99 :group 'ielm) 79 :group 'ielm)
100 80
101 (defvar * nil 81 (defvar * nil
102 "Most recent value evaluated in IELM.") 82 "Most recent value evaluated in IELM.")
548 (inferior-emacs-lisp-mode))) 528 (inferior-emacs-lisp-mode)))
549 (pop-to-buffer "*ielm*")) 529 (pop-to-buffer "*ielm*"))
550 530
551 (provide 'ielm) 531 (provide 'ielm)
552 532
533 ;;; arch-tag: ef60e4c0-9c4f-4bdb-8402-271313329790
553 ;;; ielm.el ends here 534 ;;; ielm.el ends here