comparison lisp/progmodes/cc-vars.el @ 44412:85a7b7660c2d

2002-04-06 Per Abrahamsen <abraham@dina.kvl.dk> * progmodes/cc-vars.el (c-block-comment-prefix): Specify :value for customization type. Reported by Mattias Fredsberg <mattias.fredsberg@active-tv.com>.
author Per Abrahamsen <abraham@dina.kvl.dk>
date Sat, 06 Apr 2002 11:41:36 +0000
parents be541feb06cc
children 7a3ac6c387fe
comparison
equal deleted inserted replaced
44411:c3c4e09c3eab 44412:85a7b7660c2d
289 289
290 It's only used when a one-line block comment is broken into two or 290 It's only used when a one-line block comment is broken into two or
291 more lines for the first time; otherwise the appropriate prefix is 291 more lines for the first time; otherwise the appropriate prefix is
292 adapted from the comment. This variable is not used for C++ line 292 adapted from the comment. This variable is not used for C++ line
293 style comments." 293 style comments."
294 :type 'string 294 ;; We need to specify a :value to prevent `defcustom-c-stylevar' from
295 ;; giving it an invalid value. Perhaps `defcustom-c-stylevar'
296 ;; should evaluate the value first?
297 ;; Per Abrahamsen <abraham@dina.kvl.dk> 2002-04-06.
298 :type '(string :value "* ")
295 :group 'c) 299 :group 'c)
296 300
297 (defcustom-c-stylevar c-comment-prefix-regexp 301 (defcustom-c-stylevar c-comment-prefix-regexp
298 '((pike-mode . "//+!?\\|\\**") 302 '((pike-mode . "//+!?\\|\\**")
299 (other . "//+\\|\\**")) 303 (other . "//+\\|\\**"))