From: Per Abrahamsen Date: Sat, 6 Apr 2002 11:41:36 +0000 (+0000) Subject: 2002-04-06 Per Abrahamsen X-Git-Tag: ttn-vms-21-2-B4~15766 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=232c8d4c1027dfc587012f33ed818ecd1f35f2b9;p=emacs.git 2002-04-06 Per Abrahamsen * progmodes/cc-vars.el (c-block-comment-prefix): Specify :value for customization type. Reported by Mattias Fredsberg . --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 9ca1322f682..4c94c19feda 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -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 --git a/lisp/progmodes/cc-vars.el b/lisp/progmodes/cc-vars.el index 11f6fe38640..d9ff217ae0a 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 2002-04-06. + :type '(string :value "* ") :group 'c) (defcustom-c-stylevar c-comment-prefix-regexp