* lisp/shell.el (shell-directory-tracker): Case matters. (Bug#8735)

This commit is contained in:
Glenn Morris 2011-05-26 21:54:56 -04:00
parent 9545957184
commit 4b29d9fbfb
2 changed files with 3 additions and 0 deletions

View 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)

View 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)