]> git.eshelyaron.com Git - emacs.git/commit
(buffer-local-set-state): Optimize away unused data
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 24 Mar 2025 21:08:26 +0000 (17:08 -0400)
committerEshel Yaron <me@eshelyaron.com>
Tue, 25 Mar 2025 18:18:53 +0000 (19:18 +0100)
commitf570c0653ec9089c5fd6c01fdff1c20ad1fe5108
tree64295abd7c2be1b0aa436aa4548ac7a6958d604f
parent4f98d6ab6e97bd652a2c6ab0071f099bd863cf0b
(buffer-local-set-state): Optimize away unused data

* lisp/subr.el (buffer-local-set-state--get): Simplify by making it
take only the vars rather than the pairs.
(buffer-local-set-state): Adjust accordingly so we don't needlessly keep
part of the source code in the compiled code.

(cherry picked from commit e343055f63b7329292641d0bca7d03183f35d871)
lisp/subr.el