Mercurial > emacs
diff 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 |
line wrap: on
line diff
--- a/lisp/progmodes/cc-vars.el Sat Apr 06 10:44:36 2002 +0000 +++ b/lisp/progmodes/cc-vars.el Sat Apr 06 11:41:36 2002 +0000 @@ -291,7 +291,11 @@ more lines for the first time; otherwise the appropriate prefix is adapted from the comment. This variable is not used for C++ line style comments." - :type 'string + ;; We need to specify a :value to prevent `defcustom-c-stylevar' from + ;; giving it an invalid value. Perhaps `defcustom-c-stylevar' + ;; should evaluate the value first? + ;; Per Abrahamsen <abraham@dina.kvl.dk> 2002-04-06. + :type '(string :value "* ") :group 'c) (defcustom-c-stylevar c-comment-prefix-regexp