comparison lisp/progmodes/antlr-mode.el @ 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 c4946eb1e1e8
children 50adfc6e47b2
comparison
equal deleted inserted replaced
41801:1649eae224df 41802:9e2500e4b5a9
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)
1394 (make-local-variable 'imenu-generic-expression) ;set in the mode functions 1396 (make-local-variable 'imenu-generic-expression) ;set in the mode functions
1395 (and (boundp 'comment-line-break-function) 1397 (and (boundp 'comment-line-break-function)
1396 (make-local-variable 'comment-line-break-function)) 1398 (make-local-variable 'comment-line-break-function))
1397 ;; Emacs 19.30 and beyond only, AFAIK 1399 ;; Emacs 19.30 and beyond only, AFAIK
1398 (if (boundp 'fill-paragraph-function) 1400 (if (boundp 'fill-paragraph-function)
1410 outline-regexp "[^#\n\^M]" 1412 outline-regexp "[^#\n\^M]"
1411 outline-level 'c-outline-level 1413 outline-level 'c-outline-level
1412 comment-column 32 1414 comment-column 32
1413 comment-start-skip "/\\*+ *\\|// *" 1415 comment-start-skip "/\\*+ *\\|// *"
1414 comment-multi-line nil 1416 comment-multi-line nil
1415 comment-line-break-function 'c-comment-line-break-function) 1417 comment-line-break-function 'c-comment-line-break-function
1418 adaptive-fill-regexp nil
1419 adaptive-fill-mode nil)
1416 ;; we have to do something special for c-offsets-alist so that the 1420 ;; we have to do something special for c-offsets-alist so that the
1417 ;; buffer local value has its own alist structure. 1421 ;; buffer local value has its own alist structure.
1418 (setq c-offsets-alist (copy-alist c-offsets-alist)) 1422 (setq c-offsets-alist (copy-alist c-offsets-alist))
1419 ;; setup the comment indent variable in a Emacs version portable way 1423 ;; setup the comment indent variable in a Emacs version portable way
1420 ;; ignore any byte compiler warnings you might get here 1424 ;; ignore any byte compiler warnings you might get here