diff lisp/complete.el @ 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 c0e2cbf10e3a
children 36f09a4f9133 b83d0dadb2a7
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