]> git.eshelyaron.com Git - emacs.git/commit
Support '--group-directories-first' in ls-lisp.el
authorArthur Miller <arthur.miller@live.com>
Sat, 24 Jul 2021 14:58:08 +0000 (16:58 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sun, 25 Jul 2021 07:44:31 +0000 (10:44 +0300)
commitd3415724a686107236f78d745700221a397ffb4f
treec4d006ee277944c8fd0c8dfa742b1731d805f4ae
parenta6afa221d7b373271bedef69e3a5f9e957e9fbf8
Support  '--group-directories-first' in ls-lisp.el

* lisp/ls-lisp.el (ls-lisp--sanitize-switches): New function.
(ls-lisp--insert-directory): Support '--group-directories-first'.
Call 'ls-lisp--sanitize-switches' to convert long options to short
forms and remove unsupported long options.  Update the doc string.

Copyright-paperwork-exempt: yes
lisp/ls-lisp.el