Implement the GNU ls -v switch in ls-lisp.el.
commitcd6f709c4b2be2044df54969f8302278a6c8c42a
authorEli Zaretskii <eliz@gnu.org>
Mon, 1 Sep 2014 15:03:45 +0000 (1 18:03 +0300)
committerEli Zaretskii <eliz@gnu.org>
Mon, 1 Sep 2014 15:03:45 +0000 (1 18:03 +0300)
tree430d463864fa90f6ff37b7099c872527cbcd193f
parent0360ec583aa754eb746ca6772ca6ca0f0212d546
Implement the GNU ls -v switch in ls-lisp.el.

 lisp/ls-lisp.el (ls-lisp-version-lessp): New function.
 (ls-lisp-handle-switches): Use it to implement the -v switch of GNU ls.
 (ls-lisp--insert-directory): Mention the -v switch in the doc string.

Fixes: debbugs:18051
lisp/ChangeLog
lisp/ls-lisp.el