From: Michaƫl Cadilhac Date: Sun, 26 Aug 2007 19:20:20 +0000 (+0000) Subject: (PC-do-completion): Make RET accept a non-unique but complete X-Git-Tag: emacs-pretest-23.0.90~11302 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f8a3deedc67daa49179133d682718fe2e7f09c9a;p=emacs.git (PC-do-completion): Make RET accept a non-unique but complete expansion again. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index d6eba286392..fbdd5cd6ca5 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2007-08-26 Sean O'Rourke + + * complete.el (PC-do-completion): Make RET accept a non-unique but + complete expansion again. + 2007-08-26 Thien-Thi Nguyen * eshell/esh-opt.el (eshell-eval-using-options): diff --git a/lisp/complete.el b/lisp/complete.el index 75774b65db0..01db126c5f8 100644 --- a/lisp/complete.el +++ b/lisp/complete.el @@ -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