2002-04-06 Per Abrahamsen <abraham@dina.kvl.dk>
authorPer Abrahamsen <abraham@dina.kvl.dk>
Sat, 6 Apr 2002 11:41:36 +0000 (11:41 +0000)
committerPer Abrahamsen <abraham@dina.kvl.dk>
Sat, 6 Apr 2002 11:41:36 +0000 (11:41 +0000)
* progmodes/cc-vars.el (c-block-comment-prefix): Specify :value
for customization type.
Reported by Mattias Fredsberg <mattias.fredsberg@active-tv.com>.

lisp/ChangeLog
lisp/progmodes/cc-vars.el

index 9ca1322..4c94c19 100644 (file)
@@ -1,3 +1,9 @@
+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>.
+
 2002-04-06  Mike Williams  <mdub@bigfoot.com>
 
        * textmodes/xml-lite.el: Remove.
index 11f6fe3..d9ff217 100644 (file)
@@ -291,7 +291,11 @@ It's only used when a one-line block comment is broken into two or
 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