* lisp/progmodes/cc-defs.el: Expose c-lanf-defconst's expressions to the
commit16f1e25b9c3ef1c73b198c67a41b38ca21df069b
authorStefan Monnier <monnier@iro.umontreal.ca>
Thu, 28 Aug 2014 20:37:13 +0000 (28 16:37 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Thu, 28 Aug 2014 20:37:13 +0000 (28 16:37 -0400)
treeb1790b4e2bcacfcf4bea7e8215a166c27a291d88
parent0f8fb0b98a85cf0dcf266b3963c20363fb3e1955
* lisp/progmodes/cc-defs.el: Expose c-lanf-defconst's expressions to the
byte-compiler.
(lookup-syntax-properties): Silence byte-compiler.
(c-lang-defconst): Quote the code with `lambda' rather than with
`quote'.
(c-lang-const): Avoid unneeded setq.
(c-lang-constants-under-evaluation): Add docstring.
(c-lang--novalue): New constant.
(c-find-assignment-for-mode): Use it instead of c-lang-constants.
(c-get-lang-constant): Same here.
Get the mode's value using `funcall' now that the code is quoted
with `lambda'.
lisp/ChangeLog
lisp/progmodes/cc-defs.el