]> git.eshelyaron.com Git - emacs.git/commit
Add obarray-clear and use it
authorMattias EngdegÄrd <mattiase@acm.org>
Sun, 11 Feb 2024 17:30:22 +0000 (18:30 +0100)
committerEshel Yaron <me@eshelyaron.com>
Wed, 28 Feb 2024 17:42:12 +0000 (18:42 +0100)
commit22a93e9a7b6024cb835da9227fec9ca7d021af44
treea90010653644252c88e0c9b2b9061b7432d3153c
parenta245c2013c25ea990e6864cdcc7974697089462b
Add obarray-clear and use it

* lisp/obarray.el (obarray-clear): New.
* lisp/abbrev.el (clear-abbrev-table):
* lisp/vc/vc.el (vc-clear-context): Use it instead of assuming the
obarray is a vector that can be 0-filled.
* test/lisp/obarray-tests.el (obarray-clear): New test.

(cherry picked from commit 6a182658a533acab94d8fa0aec3e2b7a4f7d6a93)
lisp/abbrev.el
lisp/obarray.el
lisp/vc/vc.el
test/lisp/obarray-tests.el