diff options
| author | André Spiegel | 1999-06-30 07:10:20 +0000 |
|---|---|---|
| committer | André Spiegel | 1999-06-30 07:10:20 +0000 |
| commit | 9fe89e73089d74e3d8fa54a4f31d259696e10f08 (patch) | |
| tree | 727b7fa1a71383d4f9c5d30733bf2b36a129eda3 | |
| parent | 0e6f68deacee2b07614b3af8b55bfa75a2afa82d (diff) | |
| download | emacs-9fe89e73089d74e3d8fa54a4f31d259696e10f08.tar.gz emacs-9fe89e73089d74e3d8fa54a4f31d259696e10f08.zip | |
(vc-find-cvs-master): Set case-fold-search correctly.
| -rw-r--r-- | lisp/vc-hooks.el | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lisp/vc-hooks.el b/lisp/vc-hooks.el index 46630d24a57..da42dcbc12e 100644 --- a/lisp/vc-hooks.el +++ b/lisp/vc-hooks.el | |||
| @@ -5,7 +5,7 @@ | |||
| 5 | ;; Author: Eric S. Raymond <esr@snark.thyrsus.com> | 5 | ;; Author: Eric S. Raymond <esr@snark.thyrsus.com> |
| 6 | ;; Maintainer: Andre Spiegel <spiegel@inf.fu-berlin.de> | 6 | ;; Maintainer: Andre Spiegel <spiegel@inf.fu-berlin.de> |
| 7 | 7 | ||
| 8 | ;; $Id: vc-hooks.el,v 1.112 1998/09/14 17:26:39 fx Exp kwzh $ | 8 | ;; $Id: vc-hooks.el,v 1.113 1998/11/11 18:47:32 kwzh Exp $ |
| 9 | 9 | ||
| 10 | ;; This file is part of GNU Emacs. | 10 | ;; This file is part of GNU Emacs. |
| 11 | 11 | ||
| @@ -879,15 +879,16 @@ For CVS, the full name of CVS/Entries is returned." | |||
| 879 | (file-directory-p (concat dirname "CVS/")) | 879 | (file-directory-p (concat dirname "CVS/")) |
| 880 | (file-readable-p (concat dirname "CVS/Entries"))) | 880 | (file-readable-p (concat dirname "CVS/Entries"))) |
| 881 | (let ((file (concat dirname basename)) | 881 | (let ((file (concat dirname basename)) |
| 882 | ;; make sure that the file name is searched | ||
| 883 | ;; case-sensitively | ||
| 884 | (case-fold-search nil) | ||
| 885 | buffer) | 882 | buffer) |
| 886 | (unwind-protect | 883 | (unwind-protect |
| 887 | (save-excursion | 884 | (save-excursion |
| 888 | (setq buffer (set-buffer (get-buffer-create "*vc-info*"))) | 885 | (setq buffer (set-buffer (get-buffer-create "*vc-info*"))) |
| 889 | (vc-insert-file (concat dirname "CVS/Entries")) | 886 | (vc-insert-file (concat dirname "CVS/Entries")) |
| 890 | (goto-char (point-min)) | 887 | (goto-char (point-min)) |
| 888 | ;; make sure that the file name is searched | ||
| 889 | ;; case-sensitively - case-fold-search is a buffer-local | ||
| 890 | ;; variable, so setting it here won't affect any other buffers | ||
| 891 | (setq case-fold-search nil) | ||
| 891 | (cond | 892 | (cond |
| 892 | ;; entry for a "locally added" file (not yet committed) | 893 | ;; entry for a "locally added" file (not yet committed) |
| 893 | ((re-search-forward | 894 | ((re-search-forward |