]> git.eshelyaron.com Git - emacs.git/commit
Don't crash in copy-alist with non-list argument
authorMattias Engdegård <mattiase@acm.org>
Sun, 25 Sep 2022 15:03:32 +0000 (17:03 +0200)
committerMattias Engdegård <mattiase@acm.org>
Sun, 25 Sep 2022 15:04:49 +0000 (17:04 +0200)
commitfb5a0497707b2eb1dd58e7d403172e4f3e23d234
tree01ddf86773a874127d745c216a9fd38e2f1bd295
parentad88e3e0b5d625282fb73f3378407ac87dad21f0
Don't crash in copy-alist with non-list argument

* src/fns.c (Fcopy_alist): Check argument type.
* test/src/fns-tests.el (fns--copy-alist): New test.
src/fns.c
test/src/fns-tests.el