# HG changeset patch # User Stefan Monnier # Date 1007371966 0 # Node ID 9e2500e4b5a962d9ca89f189615cf76445ca2eb0 # Parent 1649eae224df074d1264ead4f6cd52b121b3785a (antlr-c-common-init): Undo last change. diff -r 1649eae224df -r 9e2500e4b5a9 lisp/progmodes/antlr-mode.el --- a/lisp/progmodes/antlr-mode.el Mon Dec 03 06:13:55 2001 +0000 +++ b/lisp/progmodes/antlr-mode.el Mon Dec 03 09:32:46 2001 +0000 @@ -1391,6 +1391,8 @@ (make-local-variable 'comment-multi-line) (make-local-variable 'outline-regexp) (make-local-variable 'outline-level) + (make-local-variable 'adaptive-fill-regexp) + (make-local-variable 'adaptive-fill-mode) (make-local-variable 'imenu-generic-expression) ;set in the mode functions (and (boundp 'comment-line-break-function) (make-local-variable 'comment-line-break-function)) @@ -1412,7 +1414,9 @@ comment-column 32 comment-start-skip "/\\*+ *\\|// *" comment-multi-line nil - comment-line-break-function 'c-comment-line-break-function) + comment-line-break-function 'c-comment-line-break-function + adaptive-fill-regexp nil + adaptive-fill-mode nil) ;; we have to do something special for c-offsets-alist so that the ;; buffer local value has its own alist structure. (setq c-offsets-alist (copy-alist c-offsets-alist))