# HG changeset patch # User Alan Mackenzie # Date 1153388764 0 # Node ID b0477954803be66b4720b67f9f6fcc51047b475f # Parent c8c04c1c517d578ae6b59ab108ed807d4037e79c *** empty log message *** diff -r c8c04c1c517d -r b0477954803b lisp/ChangeLog --- a/lisp/ChangeLog Thu Jul 20 01:01:40 2006 +0000 +++ b/lisp/ChangeLog Thu Jul 20 09:46:04 2006 +0000 @@ -1,3 +1,17 @@ +2006-07-20 Alan Mackenzie + + * progmodes/cc-langs.el (c-emacs-variable-inits): new variable. + (c-lang-setvar): new macro. + (c-make-init-lang-vars-fun): Use the initialization forms in + c-emacs-variable-inits in addition to those in c-lang-variable-inits. + (comment-start, comment-end, comment-start-skip): Change these from + c-lang-defvar's to c-lang-setvar's. + + * progmodes/cc-mode.el (c-make-emacs-variables-local): new macro, + which calls make-local-variable on the elements of + c-emacs-variable-inits. + (c-init-language-vars-for): Call this new macro. + 2006-07-19 Stefan Monnier * progmodes/compile.el (compilation-error-regexp-alist-alist) :