]> git.eshelyaron.com Git - emacs.git/commit
Make c-emacs-features use the proper binding of parse-sexp-lookup-properties
authorAlan Mackenzie <acm@muc.de>
Fri, 14 Apr 2023 10:33:03 +0000 (10:33 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Wed, 10 May 2023 15:16:32 +0000 (11:16 -0400)
commit09bf4768360dd5b8928f90b0b1437f3f5ee43c41
treed051359bfbfb1a1ea9089b97b91593e7fe885c2f
parentc9e2a5ec26c52df40eda415c78046d38c4171d2b
Make c-emacs-features use the proper binding of parse-sexp-lookup-properties

This is relevant for bug #58558, although it does not fix it.  Due to a wrong
ordering of with-current-buffer and a let form, the function overwrote the
global value of parse-sexp-lookup-properties and two other variables.

* lisp/progmodes/cc-defs.el (c-emacs-features): Change the nesting of
with-current-buffer and let so that the let bindings get used.
lisp/progmodes/cc-defs.el