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:
parent
e27dad25bb
commit
85066604f0
2 changed files with 8 additions and 0 deletions
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue