]> git.eshelyaron.com Git - emacs.git/commit
Fix dired and tramp where `ls` does not have the `-N` option
authorMattias Engdegård <mattiase@acm.org>
Fri, 5 May 2023 17:19:51 +0000 (19:19 +0200)
committerMattias Engdegård <mattiase@acm.org>
Fri, 5 May 2023 17:19:51 +0000 (19:19 +0200)
commit778a1ee35b46017ab06c13c8a29f054533bc952b
treeb0b7e6b9c81263f39fefe2d3f1e95092f88ba534
parentf204c4a6cfa77fdbb2573b728110576e206b0b20
Fix dired and tramp where `ls` does not have the `-N` option

This includes BSD ls, also used by macOS (bug#63142).

* lisp/dired.el (dired-insert-directory):
* lisp/net/tramp-sh.el (tramp-sh-handle-insert-directory):
Test whether -N is understood by ls since that option is used along
with --dired.  Remove -N when we remove --dired.
lisp/dired.el
lisp/net/tramp-sh.el