aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog6
-rw-r--r--lisp/progmodes/cc-vars.el6
2 files changed, 11 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 9ca1322f68..4c94c19fed 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,9 @@
+2002-04-06 Per Abrahamsen <[email protected]>
+
+ * progmodes/cc-vars.el (c-block-comment-prefix): Specify :value
+ for customization type.
+ Reported by Mattias Fredsberg <[email protected]>.
+
2002-04-06 Mike Williams <[email protected]>
* textmodes/xml-lite.el: Remove.
diff --git a/lisp/progmodes/cc-vars.el b/lisp/progmodes/cc-vars.el
index 11f6fe3864..d9ff217ae0 100644
--- a/lisp/progmodes/cc-vars.el
+++ b/lisp/progmodes/cc-vars.el
@@ -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 <[email protected]> 2002-04-06.
+ :type '(string :value "* ")
:group 'c)
(defcustom-c-stylevar c-comment-prefix-regexp