]> git.eshelyaron.com Git - emacs.git/commitdiff
(lisp-mode-variables): Locally clear adaptive-fill-mode.
authorRichard M. Stallman <rms@gnu.org>
Mon, 5 Feb 1996 17:43:22 +0000 (17:43 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 5 Feb 1996 17:43:22 +0000 (17:43 +0000)
lisp/emacs-lisp/lisp-mode.el

index fcf1222fa2eddc947af5aea51ca61bd63a52b329..ceed10f5af6b59fc493a0657b048db561b39df14 100644 (file)
   (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)