Fix #1703: dired not listing files over TRAMP

This commit is contained in:
Henrik Lissner 2020-05-12 23:22:50 -04:00
parent a7c2cbab90
commit bc0db09a28
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -40,7 +40,7 @@
This is because there's no guarantee the remote system has GNU ls, which is the
only variant that supports --group-directories-first."
(when (file-remote-p default-directory)
(setq-local dired-listing-switches (car args))))))
(setq-local dired-actual-switches "-ahl")))))
;; Don't complain about this command being disabled when we use it
(put 'dired-find-alternate-file 'disabled nil)