]> git.eshelyaron.com Git - emacs.git/commit
Faster and more robust list-of-strings-p
authorMattias Engdegård <mattiase@acm.org>
Fri, 16 Sep 2022 13:29:03 +0000 (15:29 +0200)
committerMattias Engdegård <mattiase@acm.org>
Fri, 16 Sep 2022 13:33:12 +0000 (15:33 +0200)
commit4da0fbdc82577da0583c8858a52f456beb23fd0e
tree42933fcb0f05db0327d6b8f546f21f07a2aaf6ec
parent838e6cae81392139377dd8b78b52ff3aaeba2fc1
Faster and more robust list-of-strings-p

* lisp/subr.el (list-of-strings-p): Speed up by a factor 4 (approx.)
and don't crash on dotted lists.
* test/lisp/subr-tests.el (test-list-of-strings-p): Extend test.
lisp/subr.el
test/lisp/subr-tests.el