--- a/.emacs-my Wed Aug 04 16:37:20 2021 +0300
+++ b/.emacs-my Wed Aug 04 16:38:19 2021 +0300
@@ -1480,6 +1480,10 @@
'("%Y-%m-%d %H:%M:%S"
"%Y-%m-%d %H:%M "))
+;; Fix for dired in TRAMP: in Cygwin I rely on external ls by setting
+;; ls-lisp-use-insert-directory-program to "t" (so Emacs won't crash when
+;; access P9 mounted WSL paths). Seems some switches broke TRAMP in that case
+;; so disable external "ls".
(defun my-dired-remote-fix ()
(when (file-remote-p dired-directory)
(setq-local ls-lisp-use-insert-directory-program nil)