]> git.eshelyaron.com Git - emacs.git/commit
Fix sorting in ls-lisp.el under -v
authorEli Zaretskii <eliz@gnu.org>
Sun, 5 Jun 2022 06:52:09 +0000 (09:52 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sun, 5 Jun 2022 06:52:09 +0000 (09:52 +0300)
commit993853531aebb303870d6ff1ba7db2007d464b63
tree0bd1a41387594c885e4b861974a3ba05962bae27
parente4725ab688f0c64f79312b32ce6fb3bc7f0b4b51
Fix sorting in ls-lisp.el under -v

* lisp/ls-lisp.el (ls-lisp-version-lessp): Handle correctly the
case where strings begin with numerical parts.  More faithful
implementation of the 'strverscmp' spec for fractional parts.
(Bug#55787)

* test/lisp/ls-lisp-tests.el (ls-lisp-test-bug55787): New test.
lisp/ls-lisp.el
test/lisp/ls-lisp-tests.el