1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-23 14:32:12 -07:00

(PC-do-completion): Delete duplicates in the list of possible completions.

This commit is contained in:
Michaël Cadilhac 2007-03-07 12:50:23 +00:00
parent e27dad25bb
commit 85066604f0
2 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2007-03-07 Micha,Ak(Bl Cadilhac <michael@cadilhac.name>
* complete.el (PC-do-completion): Delete duplicates in the list of
possible completions.
2007-03-07 Glenn Morris <rgm@gnu.org>
* ses.el (ses-mode): Doc fix.

View file

@ -560,6 +560,9 @@ of `minibuffer-completion-table' and the minibuffer contents.")
(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))