changeset 82855:f839eef40802

(PC-do-completion): Make RET accept a non-unique but complete expansion again.
author Michaël Cadilhac <michael.cadilhac@lrde.org>
date Sun, 26 Aug 2007 19:20:10 +0000
parents 928ee397e253
children 85c3b71c088a
files lisp/complete.el
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/complete.el	Sun Aug 26 17:29:00 2007 +0000
+++ b/lisp/complete.el	Sun Aug 26 19:20:10 2007 +0000
@@ -831,12 +831,12 @@
                           (setq completion-base-size (if dirname
                                                          dirlength
                                                        (- beg prompt-end))))))
-                             (PC-temp-minibuffer-message " [Next char not unique]"))))))
-           ;; Expansion of filenames is not reversible, so just keep
-           ;; the prefix.
+                             (PC-temp-minibuffer-message " [Next char not unique]"))
+                         ;; Expansion of filenames is not reversible,
+                         ;; so just keep the prefix.
            (when (and abbreviated filename)
              (delete-region (point) end))
-           nil)
+                         nil)))))
 
        ;; Only one possible completion
        (t