diff options
author | Chong Yidong <cyd@gnu.org> | 2012-10-29 18:42:58 +0800 |
---|---|---|
committer | Chong Yidong <cyd@gnu.org> | 2012-10-29 18:42:58 +0800 |
commit | 329c48d8b26a8943ee47682916f83f4fb60f608e (patch) | |
tree | bb9cadb2762dcc2c654cb9998f16126ff34cf768 /lisp/info.el | |
parent | 4574557789a826c88514ee3b6a661e4869836da7 (diff) | |
download | emacs-329c48d8b26a8943ee47682916f83f4fb60f608e.tar.gz emacs-329c48d8b26a8943ee47682916f83f4fb60f608e.tar.bz2 emacs-329c48d8b26a8943ee47682916f83f4fb60f608e.zip |
* info.el (Info-complete-menu-item): Avoid duplicates.
Fixes: debbugs:12705
Diffstat (limited to 'lisp/info.el')
-rw-r--r-- | lisp/info.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/info.el b/lisp/info.el index 5862e5e850f..36ffa806f04 100644 --- a/lisp/info.el +++ b/lisp/info.el @@ -2646,6 +2646,7 @@ Because of ambiguities, this should be concatenated with something like (while (re-search-forward pattern nil t) (push (match-string-no-properties 1) completions)) + (setq completions (delete-dups completions)) ;; Check subsequent nodes if applicable. (or (and Info-complete-next-re (setq nextnode (Info-extract-pointer "next" t)) |