--- a/.emacs-my Wed Dec 14 00:51:42 2022 +0200
+++ b/.emacs-my Wed Dec 14 00:58:57 2022 +0200
@@ -580,8 +580,10 @@
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(message "Cygwin, MSYS")
-(when (and (eq system-type 'cygwin) (fboundp #'cygwin-winpath-activate))
- (cygwin-winpath-activate))
+(when (and (eq system-type 'cygwin) (fboundp #'cygpath-nt-activate))
+ (cygpath-nt-activate))
+(when (and (eq system-type 'windows-nt) cygpath-msys-root (fboundp #'cygpath-msys-activate))
+ (cygpath-msys-activate))
;; Add some standard places to PATH if they are not set by login script.
;; Rearrange the order of paths so system's are first, user's are last.