]> git.eshelyaron.com Git - emacs.git/commitdiff
(bibtex-mode): Set normal-auto-fill-function locally;
authorRichard M. Stallman <rms@gnu.org>
Fri, 9 Aug 1996 22:31:46 +0000 (22:31 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 9 Aug 1996 22:31:46 +0000 (22:31 +0000)
don't set auto-fill-function.  Don't turn on Auto Fill mode.

lisp/textmodes/bibtex.el

index 0217825736cb55d411f34b87911c798c92b2c39b..f41f48951fe09d91751fd8180bc95a1400ec178c 100644 (file)
@@ -1487,8 +1487,8 @@ non-nil."
   (setq paragraph-start "[ \f\n\t]*$")
   (make-local-variable 'comment-start)
   (setq comment-start "%")
-  (auto-fill-mode 1)
-  (setq auto-fill-function 'bibtex-auto-fill-function)
+  (make-local-variable 'normal-auto-fill-function)
+  (setq normal-auto-fill-function 'bibtex-auto-fill-function)
   (set (make-local-variable 'font-lock-defaults)
        '(bibtex-font-lock-keywords
          nil t ((?$ . "\"")