]> 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)
committerAlan Mackenzie <acm@muc.de>
Fri, 14 Apr 2023 10:33:03 +0000 (10:33 +0000)
commitf9d8cdbdbdd4f49650f2f682db89f302220b43d6
tree0dbb94fa8d9348ed81b11af9d98dd7f59f1b0f56
parentd664969544b13fe93a548c9908ce566f9b5cde9c
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