diff options
| author | Richard M. Stallman | 1995-02-02 09:40:06 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-02-02 09:40:06 +0000 |
| commit | 35d132a834872bfd554fcefe2a084671bc3f39ba (patch) | |
| tree | ed5d98c2130fd0c34ab2a9c9c0ec3117438af4ad | |
| parent | f5ba00909fcb2afdd534fb4f3ab47c067e8ccf44 (diff) | |
| download | emacs-35d132a834872bfd554fcefe2a084671bc3f39ba.tar.gz emacs-35d132a834872bfd554fcefe2a084671bc3f39ba.zip | |
(shared-lisp-mode-map): Don't bind M-q.
(lisp-mode-variables): Put it in fill-paragraph-function locally.
| -rw-r--r-- | lisp/emacs-lisp/lisp-mode.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/lisp-mode.el b/lisp/emacs-lisp/lisp-mode.el index d6c299942bd..6bb3c6f36c7 100644 --- a/lisp/emacs-lisp/lisp-mode.el +++ b/lisp/emacs-lisp/lisp-mode.el | |||
| @@ -88,6 +88,8 @@ | |||
| 88 | (setq paragraph-separate paragraph-start) | 88 | (setq paragraph-separate paragraph-start) |
| 89 | (make-local-variable 'paragraph-ignore-fill-prefix) | 89 | (make-local-variable 'paragraph-ignore-fill-prefix) |
| 90 | (setq paragraph-ignore-fill-prefix t) | 90 | (setq paragraph-ignore-fill-prefix t) |
| 91 | (make-local-variable 'fill-paragraph-function) | ||
| 92 | (setq fill-paragraph-function 'lisp-fill-paragraph) | ||
| 91 | (make-local-variable 'indent-line-function) | 93 | (make-local-variable 'indent-line-function) |
| 92 | (setq indent-line-function 'lisp-indent-line) | 94 | (setq indent-line-function 'lisp-indent-line) |
| 93 | (make-local-variable 'indent-region-function) | 95 | (make-local-variable 'indent-region-function) |
| @@ -112,7 +114,6 @@ | |||
| 112 | () | 114 | () |
| 113 | (setq shared-lisp-mode-map (make-sparse-keymap)) | 115 | (setq shared-lisp-mode-map (make-sparse-keymap)) |
| 114 | (define-key shared-lisp-mode-map "\e\C-q" 'indent-sexp) | 116 | (define-key shared-lisp-mode-map "\e\C-q" 'indent-sexp) |
| 115 | (define-key shared-lisp-mode-map "\M-q" 'lisp-fill-paragraph) | ||
| 116 | (define-key shared-lisp-mode-map "\177" 'backward-delete-char-untabify) | 117 | (define-key shared-lisp-mode-map "\177" 'backward-delete-char-untabify) |
| 117 | (define-key shared-lisp-mode-map "\t" 'lisp-indent-line)) | 118 | (define-key shared-lisp-mode-map "\t" 'lisp-indent-line)) |
| 118 | 119 | ||