aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes
diff options
context:
space:
mode:
authorPer Abrahamsen <[email protected]>2002-04-06 11:41:36 +0000
committerPer Abrahamsen <[email protected]>2002-04-06 11:41:36 +0000
commit232c8d4c1027dfc587012f33ed818ecd1f35f2b9 (patch)
tree3de341b13035f46d944779334f69993af2071568 /lisp/progmodes
parentdb5968a489f2575d450245f7a670cb1e5cdd1571 (diff)
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]>.
Diffstat (limited to 'lisp/progmodes')
-rw-r--r--lisp/progmodes/cc-vars.el6
1 files changed, 5 insertions, 1 deletions
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