From 3272c162007de232a09779fe93be3e9fe76a2a27 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Mon, 5 Feb 1996 17:43:22 +0000 Subject: [PATCH] (lisp-mode-variables): Locally clear adaptive-fill-mode. --- lisp/emacs-lisp/lisp-mode.el | 5 +++++ 1 file changed, 5 insertions(+) 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) -- 2.39.2