# HG changeset patch # User Per Abrahamsen # Date 1018093296 0 # Node ID 85a7b7660c2da6af772629231cdcb6d835af162b # Parent c3c4e09c3eab963f84fdb056bba8cd6318cb5621 2002-04-06 Per Abrahamsen * progmodes/cc-vars.el (c-block-comment-prefix): Specify :value for customization type. Reported by Mattias Fredsberg . diff -r c3c4e09c3eab -r 85a7b7660c2d lisp/ChangeLog --- 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 + + * progmodes/cc-vars.el (c-block-comment-prefix): Specify :value + for customization type. + Reported by Mattias Fredsberg . + 2002-04-06 Mike Williams * textmodes/xml-lite.el: Remove. diff -r c3c4e09c3eab -r 85a7b7660c2d lisp/progmodes/cc-vars.el --- 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 2002-04-06. + :type '(string :value "* ") :group 'c) (defcustom-c-stylevar c-comment-prefix-regexp