* lisp/shell.el (shell-directory-tracker): Case matters. (Bug#8735)
authorGlenn Morris <rgm@gnu.org>
Fri, 27 May 2011 01:54:56 +0000 (21:54 -0400)
committerGlenn Morris <rgm@gnu.org>
Fri, 27 May 2011 01:54:56 +0000 (21:54 -0400)
lisp/ChangeLog
lisp/shell.el

index acde2b2..011e5e2 100644 (file)
@@ -1,5 +1,7 @@
 2011-05-27  Glenn Morris  <rgm@gnu.org>
 
+       * shell.el (shell-directory-tracker): Case matters.  (Bug#8735)
+
        * files.el (set-auto-mode):
        Also respect mode: entries at the end of the file.  (Bug#8586)
 
index 5345594..e07f996 100644 (file)
@@ -704,6 +704,7 @@ Environment variables are expanded, see function `substitute-in-file-name'."
                               (concat "^" shell-command-separator-regexp)
                               str) ; skip whitespace
                              (match-end 0)))
+               (case-fold-search)
                end cmd arg1)
            (while (string-match shell-command-regexp str start)
              (setq end (match-end 0)