(dired-read-dir-and-switches): Fix up last change.
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 6 May 2008 00:51:56 +0000 (00:51 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 6 May 2008 00:51:56 +0000 (00:51 +0000)
lisp/ChangeLog
lisp/dired.el

index 92bb56f..8b3d4af 100644 (file)
@@ -1,7 +1,11 @@
+2008-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * dired.el (dired-read-dir-and-switches): Fix up last change.
+
 2008-05-05  Eric S. Raymond  <esr@snark.thyrsus.com>
 
        * vc.el (vc-deduce-fileset): Lift all the policy and UI
-       stuff out of this function, move it to vc-dispatcher-selection-set.k
+       stuff out of this function, move it to vc-dispatcher-selection-set.
 
 2008-05-05  Sam Steingold  <sds@gnu.org>
 
index e6c1dbd..c22e27f 100644 (file)
@@ -606,9 +606,12 @@ Don't use that together with FILTER."
         (minibuffer-with-setup-hook
             (lambda ()
               (setq minibuffer-default default)
-              (setq minibuffer-completing-file-name t)
-              (setq completion-ignore-case
-                    read-file-name-completion-ignore-case)
+              (set (make-local-variable 'minibuffer-completing-file-name)
+                   ;; t means "from now until the next minibuffer", whereas
+                   ;; `lambda' means "only here".
+                   'lambda)
+              (set (make-local-variable 'completion-ignore-case)
+                   read-file-name-completion-ignore-case)
               (setq default-directory defdir))
           (substitute-in-file-name
            (completing-read