]> git.eshelyaron.com Git - emacs.git/commit
* progmodes/cc-langs.el (c-emacs-variable-inits): new variable.
authorAlan Mackenzie <acm@muc.de>
Thu, 20 Jul 2006 09:48:09 +0000 (09:48 +0000)
committerAlan Mackenzie <acm@muc.de>
Thu, 20 Jul 2006 09:48:09 +0000 (09:48 +0000)
commit26b8f810d0ef4c002215a99f77de3625956c5607
tree175c92220de600c0c5a762efa83beefe4869656b
parentd8cd72025ef574a37ee51d6e9452cd7ce7a26633
* 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.
lisp/progmodes/cc-langs.el
lisp/progmodes/cc-mode.el