changeset 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 c3c4e09c3eab
children 2b898d069325
files lisp/ChangeLog lisp/progmodes/cc-vars.el
diffstat 2 files changed, 11 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Sat Apr 06 10:44:36 2002 +0000
+++ b/lisp/ChangeLog	Sat Apr 06 11:41:36 2002 +0000
@@ -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.
--- 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