summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-02-05 17:43:22 +0000
committerRichard M. Stallman <rms@gnu.org>1996-02-05 17:43:22 +0000
commit3272c162007de232a09779fe93be3e9fe76a2a27 (patch)
treee5a3d1753a8dc33baa3cb6d9635c54658808fb45 /lisp/emacs-lisp
parentc350a31ddeea387be9d8cba4817e0a76ee26b51e (diff)
downloademacs-3272c162007de232a09779fe93be3e9fe76a2a27.tar.gz
emacs-3272c162007de232a09779fe93be3e9fe76a2a27.tar.bz2
emacs-3272c162007de232a09779fe93be3e9fe76a2a27.zip
(lisp-mode-variables): Locally clear adaptive-fill-mode.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/lisp-mode.el5
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 @@
(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)