comparison lisp/cc-mode/cc-vars.el @ 171:929b76928fce r20-3b12

Import from CVS: tag r20-3b12
author cvs
date Mon, 13 Aug 2007 09:47:52 +0200
parents 5a88923fcbfe
children 2d532a89d707
comparison
equal deleted inserted replaced
170:98a42ee61975 171:929b76928fce
5 ;; Authors: 1992-1997 Barry A. Warsaw 5 ;; Authors: 1992-1997 Barry A. Warsaw
6 ;; 1987 Dave Detlefs and Stewart Clamen 6 ;; 1987 Dave Detlefs and Stewart Clamen
7 ;; 1985 Richard M. Stallman 7 ;; 1985 Richard M. Stallman
8 ;; Maintainer: cc-mode-help@python.org 8 ;; Maintainer: cc-mode-help@python.org
9 ;; Created: 22-Apr-1997 (split from cc-mode.el) 9 ;; Created: 22-Apr-1997 (split from cc-mode.el)
10 ;; Version: 5.11 10 ;; Version: 5.12
11 ;; Keywords: c languages oop 11 ;; Keywords: c languages oop
12 12
13 ;; This file is part of GNU Emacs. 13 ;; This file is part of GNU Emacs.
14 14
15 ;; GNU Emacs is free software; you can redistribute it and/or modify 15 ;; GNU Emacs is free software; you can redistribute it and/or modify
64 64
65 Note: indentation of lines containing only comments is also controlled 65 Note: indentation of lines containing only comments is also controlled
66 by the `c-comment-only-line-offset' variable." 66 by the `c-comment-only-line-offset' variable."
67 :type '(radio 67 :type '(radio
68 :extra-offset 8 68 :extra-offset 8
69 :format "%{Tab Always Indent%}:\n The TAB key\n%v" 69 :format "%{C Tab Always Indent%}:\n The TAB key:\n%v"
70 (const :tag "always indents, never inserts TAB" t) 70 (const :tag "always indents, never inserts TAB" t)
71 (const :tag "indents in left margin, otherwise inserts TAB" nil) 71 (const :tag "indents in left margin, otherwise inserts TAB" nil)
72 (const :tag "inserts TAB in literals, otherwise indent" other)) 72 (const :tag "inserts TAB in literals, otherwise indent" other))
73 :group 'c) 73 :group 'c)
74 74
187 (const substatement-open) (const statement-case-open) 187 (const substatement-open) (const statement-case-open)
188 (const extern-lang-open) (const extern-lang-close) 188 (const extern-lang-open) (const extern-lang-close)
189 (const brace-list-open) (const brace-list-close) 189 (const brace-list-open) (const brace-list-close)
190 (const brace-list-intro) (const brace-list-entry)) 190 (const brace-list-intro) (const brace-list-entry))
191 (choice :tag "Action" 191 (choice :tag "Action"
192 (set :format "%v" 192 (set :format "Insert a newline %v"
193 :extra-offset 8 193 :extra-offset 38
194 (const before) (const after)) 194 (const :tag "before brace" before)
195 (function :format "%v" :value c-) 195 (const :tag "after brace" after))
196 (function :format "Run function %v" :value c-)
196 ))) 197 )))
197 :group 'c) 198 :group 'c)
198 199
199 (defcustom c-hanging-colons-alist nil 200 (defcustom c-hanging-colons-alist nil
200 "*Controls the insertion of newlines before and after certain colons. 201 "*Controls the insertion of newlines before and after certain colons.