diff lisp/eshell/em-hist.el @ 46820:543b32b4673d

Added checks that distinguish between cygwin and windows in some places.
author John Wiegley <johnw@newartisans.com>
date Mon, 05 Aug 2002 20:09:16 +0000
parents 5f44c387c856
children 6eb625bead4f
line wrap: on
line diff
--- a/lisp/eshell/em-hist.el	Mon Aug 05 20:08:40 2002 +0000
+++ b/lisp/eshell/em-hist.el	Mon Aug 05 20:09:16 2002 +0000
@@ -805,7 +805,8 @@
 	 (motion (if (> arg 0) 1 -1))
 	 (n (mod (- (or start (eshell-search-start arg)) motion) len))
 	 (tried-each-ring-item nil)
-	 (case-fold-search (eshell-under-windows-p))
+	 (case-fold-search (or (eshell-under-windows-p)
+			       (eshell-under-cygwin-p)))
 	 (prev nil))
     ;; Do the whole search as many times as the argument says.
     (while (and (/= arg 0) (not tried-each-ring-item))