]> git.eshelyaron.com Git - emacs.git/commit
Fix 'split-string' when TRIM is used
authorEli Zaretskii <eliz@gnu.org>
Sat, 21 Jun 2025 08:08:05 +0000 (11:08 +0300)
committerEshel Yaron <me@eshelyaron.com>
Sun, 22 Jun 2025 08:09:23 +0000 (10:09 +0200)
commit3d397d385a8f83ea59beee87f5bb28d0d41a3f25
tree5b7fd06c1c241a74257ceff4b7d162029f4b368e
parent616a1f41797319d965cc82e94250228ff1653da4
Fix 'split-string' when TRIM is used

* lisp/subr.el (split-string): Support the case where STRING
begins with a match for SEPARATORS, and a match for SEPARATORS
also matches TRIM.  Doc fix.  (Bug#78690)

* test/lisp/subr-tests.el (subr-test-split-string): New test.

(cherry picked from commit 4607d3e426115ded71f0d8c19e7187ed45c19734)
lisp/subr.el
test/lisp/subr-tests.el