Good Morning, Martin!
On Sat, Apr 29, 2006 at 04:41:55PM +0200, martin rudalics wrote:
With emacs -Q do
C-h v comment-start RET
gets me
comment-start is a variable defined in `newcomment.el'
...
Now load cc-mode in a new buffer, return to scratch, and do again
C-h v comment-start RET
gets me
comment-start is a variable defined in `cc-engine.el'
...
OK, here is a patch.
Basically, the declarations like (c-lang-defvar comment-start ....) (in
cc-langs.el ~L1131) were causing forms (defvar comment-start ...) to get
generated in cc-engine.el (via the macro c-declare-lang-variables).
I have added the macro c-lang-setvar which does all the fancy stuff that
c-lang-defvar does, only without generating the defvar.
Please let me know if there are any problems with this patch.