From: Richard M. Stallman Date: Mon, 5 Feb 1996 17:43:22 +0000 (+0000) Subject: (lisp-mode-variables): Locally clear adaptive-fill-mode. X-Git-Tag: emacs-19.34~1365 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3272c162007de232a09779fe93be3e9fe76a2a27;p=emacs.git (lisp-mode-variables): Locally clear adaptive-fill-mode. --- 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 @@ (setq paragraph-ignore-fill-prefix t) (make-local-variable 'fill-paragraph-function) (setq fill-paragraph-function 'lisp-fill-paragraph) + ;; Adaptive fill mode gets in the way of auto-fill, + ;; and should make no difference for explicit fill + ;; because lisp-fill-paragraph should do the job. + (make-local-variable 'adaptive-fill-mode) + (setq adaptive-fill-mode nil) (make-local-variable 'indent-line-function) (setq indent-line-function 'lisp-indent-line) (make-local-variable 'indent-region-function)