diff options
Diffstat (limited to 'lisp/progmodes')
-rw-r--r-- | lisp/progmodes/cc-vars.el | 6 |
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 |