From bc0db09a285e21202b73dc0eddff444365181bab Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 12 May 2020 23:22:50 -0400 Subject: [PATCH] Fix #1703: dired not listing files over TRAMP --- modules/emacs/dired/config.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/emacs/dired/config.el b/modules/emacs/dired/config.el index 3da7048bd..6b619607b 100644 --- a/modules/emacs/dired/config.el +++ b/modules/emacs/dired/config.el @@ -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)