Mercurial > emacs
changeset 41802:9e2500e4b5a9
(antlr-c-common-init): Undo last change.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Mon, 03 Dec 2001 09:32:46 +0000 |
parents | 1649eae224df |
children | 82db88372d39 |
files | lisp/progmodes/antlr-mode.el |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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))