Fix #1703: dired not listing files over TRAMP
This commit is contained in:
parent
a7c2cbab90
commit
bc0db09a28
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@
|
||||||
This is because there's no guarantee the remote system has GNU ls, which is the
|
This is because there's no guarantee the remote system has GNU ls, which is the
|
||||||
only variant that supports --group-directories-first."
|
only variant that supports --group-directories-first."
|
||||||
(when (file-remote-p default-directory)
|
(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
|
;; Don't complain about this command being disabled when we use it
|
||||||
(put 'dired-find-alternate-file 'disabled nil)
|
(put 'dired-find-alternate-file 'disabled nil)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue