]> git.eshelyaron.com Git - emacs.git/commitdiff
(choose-completion-string): Use minibuffer-completion-table.
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 21 Apr 2008 20:48:10 +0000 (20:48 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Mon, 21 Apr 2008 20:48:10 +0000 (20:48 +0000)
lisp/ChangeLog
lisp/simple.el

index d83c5333bfd224d7e0e970e01461e446f5fe7804..f8ab54a16315e565d58188812140019243ba1961 100644 (file)
@@ -1,3 +1,7 @@
+2008-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * simple.el (choose-completion-string): Use minibuffer-completion-table.
+
 2008-04-21  Chong Yidong  <cyd@stupidchicken.com>
 
        * term.el (term-emulate-terminal): Perform redisplay after the
index 1a77c4bc3b3a1d218721894c79f3305b21b056f9..44dcbf45be14c007ac5f5d9346cc85ee92d839ce 100644 (file)
@@ -5416,7 +5416,7 @@ to decide what to delete."
             minibuffer-completion-table
             ;; If this is reading a file name, and the file name chosen
             ;; is a directory, don't exit the minibuffer.
-            (if (and (eq minibuffer-completion-table 'read-file-name-internal)
+            (if (and minibuffer-completing-file-name
                      (file-directory-p (field-string (point-max))))
                 (let ((mini (active-minibuffer-window)))
                   (select-window mini)