From 232c8d4c1027dfc587012f33ed818ecd1f35f2b9 Mon Sep 17 00:00:00 2001 From: Per Abrahamsen Date: Sat, 6 Apr 2002 11:41:36 +0000 Subject: [PATCH] 2002-04-06 Per Abrahamsen * progmodes/cc-vars.el (c-block-comment-prefix): Specify :value for customization type. Reported by Mattias Fredsberg . --- lisp/ChangeLog | 6 ++++++ lisp/progmodes/cc-vars.el | 6 +++++- 2 files changed, 11 insertions(+), 1 deletion(-) 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 -- 2.39.5