(PC-do-completion): Make RET accept a non-unique but complete

expansion again.
This commit is contained in:
Michaël Cadilhac
2007-08-26 19:20:20 +00:00
parent 3300097f4d
commit f8a3deedc6
2 changed files with 9 additions and 4 deletions

View 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):

View 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