comparison lisp/progmodes/antlr-mode.el @ 41775:c4946eb1e1e8

(antlr-c-common-init): Don't inhibit adaptive-fill-mode any more.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Sun, 02 Dec 2001 07:20:13 +0000
parents 113b18d8a765
children 9e2500e4b5a9
comparison
equal deleted inserted replaced
41774:6297965bc792 41775:c4946eb1e1e8
1389 (make-local-variable 'comment-column) 1389 (make-local-variable 'comment-column)
1390 (make-local-variable 'comment-start-skip) 1390 (make-local-variable 'comment-start-skip)
1391 (make-local-variable 'comment-multi-line) 1391 (make-local-variable 'comment-multi-line)
1392 (make-local-variable 'outline-regexp) 1392 (make-local-variable 'outline-regexp)
1393 (make-local-variable 'outline-level) 1393 (make-local-variable 'outline-level)
1394 (make-local-variable 'adaptive-fill-regexp)
1395 (make-local-variable 'adaptive-fill-mode)
1396 (make-local-variable 'imenu-generic-expression) ;set in the mode functions 1394 (make-local-variable 'imenu-generic-expression) ;set in the mode functions
1397 (and (boundp 'comment-line-break-function) 1395 (and (boundp 'comment-line-break-function)
1398 (make-local-variable 'comment-line-break-function)) 1396 (make-local-variable 'comment-line-break-function))
1399 ;; Emacs 19.30 and beyond only, AFAIK 1397 ;; Emacs 19.30 and beyond only, AFAIK
1400 (if (boundp 'fill-paragraph-function) 1398 (if (boundp 'fill-paragraph-function)
1412 outline-regexp "[^#\n\^M]" 1410 outline-regexp "[^#\n\^M]"
1413 outline-level 'c-outline-level 1411 outline-level 'c-outline-level
1414 comment-column 32 1412 comment-column 32
1415 comment-start-skip "/\\*+ *\\|// *" 1413 comment-start-skip "/\\*+ *\\|// *"
1416 comment-multi-line nil 1414 comment-multi-line nil
1417 comment-line-break-function 'c-comment-line-break-function 1415 comment-line-break-function 'c-comment-line-break-function)
1418 adaptive-fill-regexp nil
1419 adaptive-fill-mode nil)
1420 ;; we have to do something special for c-offsets-alist so that the 1416 ;; we have to do something special for c-offsets-alist so that the
1421 ;; buffer local value has its own alist structure. 1417 ;; buffer local value has its own alist structure.
1422 (setq c-offsets-alist (copy-alist c-offsets-alist)) 1418 (setq c-offsets-alist (copy-alist c-offsets-alist))
1423 ;; setup the comment indent variable in a Emacs version portable way 1419 ;; setup the comment indent variable in a Emacs version portable way
1424 ;; ignore any byte compiler warnings you might get here 1420 ;; ignore any byte compiler warnings you might get here