summaryrefslogtreecommitdiff
path: root/lisp/progmodes/antlr-mode.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2001-12-03 09:33:01 +0000
committerStefan Monnier <monnier@iro.umontreal.ca>2001-12-03 09:33:01 +0000
commit1fdcb819d4a70a9ab8b2e2746d826088e293efa2 (patch)
tree6f0959794f31ad1547f7695fcb2b02d01f6008aa /lisp/progmodes/antlr-mode.el
parentd6b8a1c0592c2d153ae163a8d7c6a155cb8196d3 (diff)
downloademacs-1fdcb819d4a70a9ab8b2e2746d826088e293efa2.tar.gz
(antlr-c-common-init): Undo last change.
Diffstat (limited to 'lisp/progmodes/antlr-mode.el')
-rw-r--r--lisp/progmodes/antlr-mode.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/progmodes/antlr-mode.el b/lisp/progmodes/antlr-mode.el
index 8599ec25604..40e2a18334c 100644
--- a/lisp/progmodes/antlr-mode.el
+++ b/lisp/progmodes/antlr-mode.el
@@ -1391,6 +1391,8 @@ Otherwise, indent the current line with `antlr-indent-line'."
(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 @@ Otherwise, indent the current line with `antlr-indent-line'."
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))