changeset 10628:04591bafb562

(shared-lisp-mode-map): Don't bind M-q. (lisp-mode-variables): Put it in fill-paragraph-function locally.
author Richard M. Stallman <rms@gnu.org>
date Thu, 02 Feb 1995 09:40:06 +0000
parents e00a48bb7ad4
children 2c9bdcab7052
files lisp/emacs-lisp/lisp-mode.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/emacs-lisp/lisp-mode.el	Wed Feb 01 22:33:11 1995 +0000
+++ b/lisp/emacs-lisp/lisp-mode.el	Thu Feb 02 09:40:06 1995 +0000
@@ -88,6 +88,8 @@
   (setq paragraph-separate paragraph-start)
   (make-local-variable 'paragraph-ignore-fill-prefix)
   (setq paragraph-ignore-fill-prefix t)
+  (make-local-variable 'fill-paragraph-function)
+  (setq fill-paragraph-function 'lisp-fill-paragraph)
   (make-local-variable 'indent-line-function)
   (setq indent-line-function 'lisp-indent-line)
   (make-local-variable 'indent-region-function)
@@ -112,7 +114,6 @@
     ()
    (setq shared-lisp-mode-map (make-sparse-keymap))
    (define-key shared-lisp-mode-map "\e\C-q" 'indent-sexp)
-   (define-key shared-lisp-mode-map "\M-q" 'lisp-fill-paragraph)
    (define-key shared-lisp-mode-map "\177" 'backward-delete-char-untabify)
    (define-key shared-lisp-mode-map "\t" 'lisp-indent-line))