summaryrefslogtreecommitdiff
path: root/lisp/ielm.el
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1996-08-20 19:10:47 +0000
committerKarl Heuer <kwzh@gnu.org>1996-08-20 19:10:47 +0000
commit4447b167740e2961accac15c7cdbce0d5ca92b59 (patch)
tree6575aa7d0a99f9aafb5e1bd034f05a0d9bd30722 /lisp/ielm.el
parent43a350d68afab72716f4d0920849016c07462e59 (diff)
downloademacs-4447b167740e2961accac15c7cdbce0d5ca92b59.tar.gz
(ielm-map): Don't bind M-q.
(inferior-emacs-lisp-mode): Set fill-paragraph-function instead.
Diffstat (limited to 'lisp/ielm.el')
-rw-r--r--lisp/ielm.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/ielm.el b/lisp/ielm.el
index cb229c85593..afc2fa3a858 100644
--- a/lisp/ielm.el
+++ b/lisp/ielm.el
@@ -89,7 +89,7 @@ This variable is buffer-local.")
(defvar ielm-header
(concat
"*** Welcome to IELM version "
- (substring "$Revision: 1.6 $" 11 -2)
+ (substring "$Revision: 1.7 $" 11 -2)
" *** Type (describe-mode) for help.\n"
"IELM has ABSOLUTELY NO WARRANTY; type (describe-no-warranty) for details.\n")
"Message to display when IELM is started.")
@@ -111,7 +111,6 @@ This variable is buffer-local.")
;; These bindings are from shared-lisp-mode-map -- can you inherit
;; from more than one keymap??
(define-key ielm-map "\e\C-q" 'indent-sexp)
- (define-key ielm-map "\eq" 'lisp-fill-paragraph)
(define-key ielm-map "\177" 'backward-delete-char-untabify)
;; Some convenience bindings for setting the working buffer
(define-key ielm-map "\C-c\C-b" 'ielm-change-working-buffer)
@@ -416,6 +415,8 @@ Customised bindings may be defined in `ielm-map', which currently contains:
(make-local-variable 'ielm-working-buffer)
(setq ielm-working-buffer (current-buffer))
(setq indent-line-function 'ielm-indent-line)
+ (make-local-variable 'fill-paragraph-function)
+ (setq fill-paragraph-function 'lisp-fill-paragraph)
;; Value holders
(setq : nil)