comparison lisp/progmodes/cc-styles.el @ 51748:f3cad02bce62

(c-style-alist, c-lang-variable-inits, c-lang-variable-inits-tail): The values of these are changed, so declare them as variables and not constants.
author Martin Stjernholm <mast@lysator.liu.se>
date Sat, 05 Jul 2003 19:54:33 +0000
parents bc91cbf50c24
children 695cf19ef79e
comparison
equal deleted inserted replaced
51747:b4fb79bf98ba 51748:f3cad02bce62
48 48
49 ;; Silence the compiler. 49 ;; Silence the compiler.
50 (cc-bytecomp-defvar adaptive-fill-first-line-regexp) ; Emacs 50 (cc-bytecomp-defvar adaptive-fill-first-line-regexp) ; Emacs
51 51
52 52
53 ;; Warning: don't eval-defun this constant or you'll break style inheritance. 53 (defvar c-style-alist
54 (defconst c-style-alist
55 '(("gnu" 54 '(("gnu"
56 (c-basic-offset . 2) 55 (c-basic-offset . 2)
57 (c-comment-only-line-offset . (0 . 0)) 56 (c-comment-only-line-offset . (0 . 0))
58 (c-offsets-alist . ((statement-block-intro . +) 57 (c-offsets-alist . ((statement-block-intro . +)
59 (knr-argdecl-intro . 5) 58 (knr-argdecl-intro . 5)