aidan  committed 1cd41d7

Eshell; check for .exe on Cygwin too.

  • Participants
  • Parent commits 43f3d71

Comments (0)

Files changed (2)

+2007-05-13  Aidan Kehoe  <>
+	* esh-util.el (eshell-under-windows-p):
+	This function is used to determine whether .exe should be appended
+	to executable names when searching for them; this is as true of
+	cygwin32 as it is of windows-nt and ms-dos. 
 2005-06-27  Norbert Koch  <>
 	* Makefile (VERSION): XEmacs package 1.10 released.
 (defsubst eshell-under-windows-p ()
   "Return non-nil if we are running under MS-DOS/Windows."
-  (memq system-type '(ms-dos windows-nt)))
+ (memq system-type '(ms-dos windows-nt cygwin32)))
 (defmacro eshell-condition-case (tag form &rest handlers)
   "Like `condition-case', but only if `eshell-pass-through-errors' is nil."