]> git.eshelyaron.com Git - emacs.git/commit
Fix recently-introduced Fdelete bug
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 15 Aug 2020 19:32:56 +0000 (12:32 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 15 Aug 2020 19:37:04 +0000 (12:37 -0700)
commit748afc183c2c44b7b2a582d3078cf3d8b4d5270a
tree59ae72d0e3b918fa01fd3a759ac853e22701ab64
parentb467bb531e1ab0eed57e1889004d2115e80e4292
Fix recently-introduced Fdelete bug

Problem reported by Pip Cet in:
https://lists.gnu.org/r/emacs-devel/2020-08/msg00444.html
* src/fns.c (Fdelete): Fix correctness bug via a simpler (though more
memory-intensive) approach.  It’s probably not worth optimizing
the memory usage yere.
* test/src/fns-tests.el (test-vector-delete): Add test for the bug.
src/fns.c
test/src/fns-tests.el