From: Glenn Morris Date: Fri, 27 May 2011 01:54:56 +0000 (-0400) Subject: * lisp/shell.el (shell-directory-tracker): Case matters. (Bug#8735) X-Git-Tag: emacs-pretest-24.0.90~104^2~618^2~146 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4b29d9fbfb7e347844dd0fa68be44b8c635f6f34;p=emacs.git * lisp/shell.el (shell-directory-tracker): Case matters. (Bug#8735) --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index acde2b246c8..011e5e23e71 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,7 @@ 2011-05-27 Glenn Morris + * 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) diff --git a/lisp/shell.el b/lisp/shell.el index 53455944ee6..e07f996823e 100644 --- a/lisp/shell.el +++ b/lisp/shell.el @@ -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)