Skip to content

Commit

Permalink
fix problem that the same words are deleted even if they are from dif…
Browse files Browse the repository at this point in the history
…ferent sources.
  • Loading branch information
namikister committed Aug 5, 2013
1 parent 8a13f40 commit abd787e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion auto-complete.el
Original file line number Diff line number Diff line change
Expand Up @@ -1049,7 +1049,7 @@ You can not use it in source definition like (prefix . `NAME')."
append (ac-candidates-1 source) into candidates
finally return
(progn
(delete-dups candidates)
(setq candidates (delete-duplicates candidates :test #'equal-including-properties))
(if (and ac-use-comphist ac-comphist)
(if ac-show-menu
(let* ((pair (ac-comphist-sort ac-comphist candidates prefix-len ac-comphist-threshold))
Expand Down

0 comments on commit abd787e

Please sign in to comment.