]> git.eshelyaron.com Git - emacs.git/commitdiff
(PC-do-completion): Make RET accept a non-unique but complete
authorMichaël Cadilhac <michael.cadilhac@lrde.org>
Sun, 26 Aug 2007 19:20:20 +0000 (19:20 +0000)
committerMichaël Cadilhac <michael.cadilhac@lrde.org>
Sun, 26 Aug 2007 19:20:20 +0000 (19:20 +0000)
expansion again.

lisp/ChangeLog
lisp/complete.el

index d6eba286392c0258bc4bef0b0cd9bb05de87ee32..fbdd5cd6ca5efb4eb9909191772493a90c138bfe 100644 (file)
@@ -1,3 +1,8 @@
+2007-08-26  Sean O'Rourke  <seano@cs.ucsd.edu>
+
+       * complete.el (PC-do-completion): Make RET accept a non-unique but
+       complete expansion again.
+
 2007-08-26  Thien-Thi Nguyen  <ttn@gnuvola.org>
 
        * eshell/esh-opt.el (eshell-eval-using-options):
index 75774b65db05b8f34738234867b997a521b9b141..01db126c5f8baa347d05b65eb49e1d6f5fbd765c 100644 (file)
@@ -831,12 +831,12 @@ GOTO-END is non-nil, however, it instead replaces up to END."
                           (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