.emacs-my
changeset 1743 6d1553307bc6
parent 1742 50d48406e1ba
child 1744 ef4030540143
--- 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)