comparison lisp/textmodes/bibtex.el @ 15852:8d8800822c78

(bibtex-mode): Set normal-auto-fill-function locally; don't set auto-fill-function. Don't turn on Auto Fill mode.
author Richard M. Stallman <rms@gnu.org>
date Fri, 09 Aug 1996 22:31:46 +0000
parents 405b1ecbf8ba
children d28dbbfabfb1
comparison
equal deleted inserted replaced
15851:9aaeb5dc2851 15852:8d8800822c78
1485 (bibtex-parse-keys nil) 1485 (bibtex-parse-keys nil)
1486 (make-local-variable 'paragraph-start) 1486 (make-local-variable 'paragraph-start)
1487 (setq paragraph-start "[ \f\n\t]*$") 1487 (setq paragraph-start "[ \f\n\t]*$")
1488 (make-local-variable 'comment-start) 1488 (make-local-variable 'comment-start)
1489 (setq comment-start "%") 1489 (setq comment-start "%")
1490 (auto-fill-mode 1) 1490 (make-local-variable 'normal-auto-fill-function)
1491 (setq auto-fill-function 'bibtex-auto-fill-function) 1491 (setq normal-auto-fill-function 'bibtex-auto-fill-function)
1492 (set (make-local-variable 'font-lock-defaults) 1492 (set (make-local-variable 'font-lock-defaults)
1493 '(bibtex-font-lock-keywords 1493 '(bibtex-font-lock-keywords
1494 nil t ((?$ . "\"") 1494 nil t ((?$ . "\"")
1495 ;; Mathematical expressions should be fontified as strings 1495 ;; Mathematical expressions should be fontified as strings
1496 (?\" . ".") 1496 (?\" . ".")