Mercurial > emacs
changeset 76375:3183de2acda4
(PC-do-completion): Delete duplicates in the list of possible completions.
author | Michaël Cadilhac <michael.cadilhac@lrde.org> |
---|---|
date | Wed, 07 Mar 2007 12:47:15 +0000 |
parents | 6c53ec2b4b24 |
children | 23fec5d4b4bd |
files | lisp/complete.el |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/complete.el Wed Mar 07 08:46:02 2007 +0000 +++ b/lisp/complete.el Wed Mar 07 12:47:15 2007 +0000 @@ -560,6 +560,9 @@ (setq poss (cons (car p) poss)))) (setq p (cdr p))))) + ;; If table had duplicates, they can be here. + (delete-dups poss) + ;; Handle completion-ignored-extensions (and filename (not (eq mode 'help))