]> git.eshelyaron.com Git - emacs.git/commit
Improve error data when passing a wrong type to 'sort' (Bug#34104)
authorPhilipp Stephani <phst@google.com>
Thu, 17 Jan 2019 22:39:19 +0000 (23:39 +0100)
committerPhilipp Stephani <phst@google.com>
Sat, 19 Jan 2019 23:04:19 +0000 (00:04 +0100)
commit551051596fe51d6e232315eeda8a0a79eb43bfdf
treedd2b179cb2dbe29fbea8d26fdd73ca8a29dae154
parent3e1255172334f3c0645d37eb92c05a628fa3d548
Improve error data when passing a wrong type to 'sort' (Bug#34104)

* src/fns.c (Fsort): Use 'list-or-vector-p' for error message.
(syms_of_fns): Define 'list-or-vector-p'.

* test/src/fns-tests.el (fns-tests-sort): Extend unit test.
src/fns.c
test/src/fns-tests.el