]> git.eshelyaron.com Git - emacs.git/commitdiff
(PC-do-completion): Delete duplicates in the list of possible completions.
authorMichaël Cadilhac <michael.cadilhac@lrde.org>
Wed, 7 Mar 2007 12:50:23 +0000 (12:50 +0000)
committerMichaël Cadilhac <michael.cadilhac@lrde.org>
Wed, 7 Mar 2007 12:50:23 +0000 (12:50 +0000)
lisp/ChangeLog
lisp/complete.el

index d64589405dfe1091e4f694e14d8352e0035f3868..807151bc2505bbe2841f9d626d7af95a485615df 100644 (file)
@@ -1,3 +1,8 @@
+2007-03-07  Micha\e,Ak\e(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.
index b56dc268c04145604be1ca0b678e718037a27e21..5b77f49ebdfe16613a6e5a08003f2323494b6990 100644 (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))