.emacs-my
changeset 1767 fd3589f24170
parent 1766 407c95f4887f
child 1768 b3cac2287547
equal deleted inserted replaced
1766:407c95f4887f 1767:fd3589f24170
   578         (list "-i")))
   578         (list "-i")))
   579 
   579 
   580 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
   580 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
   581 (message "Cygwin, MSYS")
   581 (message "Cygwin, MSYS")
   582 
   582 
   583 (when (and (eq system-type 'cygwin) (fboundp #'cygwin-winpath-activate))
   583 (when (and (eq system-type 'cygwin) (fboundp #'cygpath-nt-activate))
   584   (cygwin-winpath-activate))
   584   (cygpath-nt-activate))
       
   585 (when (and (eq system-type 'windows-nt) cygpath-msys-root (fboundp #'cygpath-msys-activate))
       
   586   (cygpath-msys-activate))
   585 
   587 
   586 ;; Add some standard places to PATH if they are not set by login script.
   588 ;; Add some standard places to PATH if they are not set by login script.
   587 ;; Rearrange the order of paths so system's are first, user's are last.
   589 ;; Rearrange the order of paths so system's are first, user's are last.
   588 ;; For Cygwin this helps with Cygwin's paths to be situated before
   590 ;; For Cygwin this helps with Cygwin's paths to be situated before
   589 ;; "C:/Windows" (Emacs is not started from a login shell on Windows!).
   591 ;; "C:/Windows" (Emacs is not started from a login shell on Windows!).