]> git.eshelyaron.com Git - emacs.git/commit
* src/data.c (set_internal): Fix bug#44733
authorStefan Monnier <monnier@iro.umontreal.ca>
Thu, 19 Nov 2020 22:13:04 +0000 (17:13 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Thu, 19 Nov 2020 22:13:04 +0000 (17:13 -0500)
commit8fac2444641567b10f4c38b599636aeae0478e68
tree838888886993c1105f35ce67a4cbbfc835cc96a2
parent70773e5b97e6952ad7650e6872855451c64325c0
* src/data.c (set_internal): Fix bug#44733

Set the default value when `set` encounters a PER_BUFFER variable
which has been let-bound globally, to match the behavior seen with
`make-variable-buffer-local`.

* test/src/data-tests.el (binding-test--let-buffer-local):
Add corresponding test.
(data-tests--set-default-per-buffer): Add tentative test for the
performance problem encountered in bug#41029.
src/data.c
test/src/data-tests.el