diff options
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/complete.el | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index d64589405df..807151bc250 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2007-03-07 Micha,Ak(Bl Cadilhac <michael@cadilhac.name> | ||
| 2 | |||
| 3 | * complete.el (PC-do-completion): Delete duplicates in the list of | ||
| 4 | possible completions. | ||
| 5 | |||
| 1 | 2007-03-07 Glenn Morris <rgm@gnu.org> | 6 | 2007-03-07 Glenn Morris <rgm@gnu.org> |
| 2 | 7 | ||
| 3 | * ses.el (ses-mode): Doc fix. | 8 | * ses.el (ses-mode): Doc fix. |
diff --git a/lisp/complete.el b/lisp/complete.el index b56dc268c04..5b77f49ebdf 100644 --- a/lisp/complete.el +++ b/lisp/complete.el | |||
| @@ -560,6 +560,9 @@ of `minibuffer-completion-table' and the minibuffer contents.") | |||
| 560 | (setq poss (cons (car p) poss)))) | 560 | (setq poss (cons (car p) poss)))) |
| 561 | (setq p (cdr p))))) | 561 | (setq p (cdr p))))) |
| 562 | 562 | ||
| 563 | ;; If table had duplicates, they can be here. | ||
| 564 | (delete-dups poss) | ||
| 565 | |||
| 563 | ;; Handle completion-ignored-extensions | 566 | ;; Handle completion-ignored-extensions |
| 564 | (and filename | 567 | (and filename |
| 565 | (not (eq mode 'help)) | 568 | (not (eq mode 'help)) |