diff options
| author | Richard M. Stallman | 1996-02-05 17:43:22 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1996-02-05 17:43:22 +0000 |
| commit | 3272c162007de232a09779fe93be3e9fe76a2a27 (patch) | |
| tree | e5a3d1753a8dc33baa3cb6d9635c54658808fb45 | |
| parent | c350a31ddeea387be9d8cba4817e0a76ee26b51e (diff) | |
| download | emacs-3272c162007de232a09779fe93be3e9fe76a2a27.tar.gz emacs-3272c162007de232a09779fe93be3e9fe76a2a27.zip | |
(lisp-mode-variables): Locally clear adaptive-fill-mode.
| -rw-r--r-- | lisp/emacs-lisp/lisp-mode.el | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/lisp-mode.el b/lisp/emacs-lisp/lisp-mode.el index fcf1222fa2e..ceed10f5af6 100644 --- a/lisp/emacs-lisp/lisp-mode.el +++ b/lisp/emacs-lisp/lisp-mode.el | |||
| @@ -103,6 +103,11 @@ | |||
| 103 | (setq paragraph-ignore-fill-prefix t) | 103 | (setq paragraph-ignore-fill-prefix t) |
| 104 | (make-local-variable 'fill-paragraph-function) | 104 | (make-local-variable 'fill-paragraph-function) |
| 105 | (setq fill-paragraph-function 'lisp-fill-paragraph) | 105 | (setq fill-paragraph-function 'lisp-fill-paragraph) |
| 106 | ;; Adaptive fill mode gets in the way of auto-fill, | ||
| 107 | ;; and should make no difference for explicit fill | ||
| 108 | ;; because lisp-fill-paragraph should do the job. | ||
| 109 | (make-local-variable 'adaptive-fill-mode) | ||
| 110 | (setq adaptive-fill-mode nil) | ||
| 106 | (make-local-variable 'indent-line-function) | 111 | (make-local-variable 'indent-line-function) |
| 107 | (setq indent-line-function 'lisp-indent-line) | 112 | (setq indent-line-function 'lisp-indent-line) |
| 108 | (make-local-variable 'indent-region-function) | 113 | (make-local-variable 'indent-region-function) |