]> git.eshelyaron.com Git - emacs.git/commit
Rewrite gnus-search-query-expand-key
authorEric Abrahamsen <eric@ericabrahamsen.net>
Sat, 10 Jul 2021 17:00:32 +0000 (10:00 -0700)
committerEric Abrahamsen <eric@ericabrahamsen.net>
Sun, 11 Jul 2021 03:22:35 +0000 (20:22 -0700)
commitd93ff9459feb77ed5df0d3af563d1280ff42062f
treea121d6d4218ca8e8e0d73c7a0f777f68f68386ea
parente7f6bb38ddb71bfe08bdca87119ff13cd40ecf62
Rewrite gnus-search-query-expand-key

* lisp/gnus/gnus-search.el (gnus-search-query-expand-key): There was a
misunderstanding about how completion-all-completion works (if the
test string can't be completed, the whole table is returned). Simplify
to use try-completion.
* test/lisp/gnus/gnus-search-tests.el (gnus-s-expand-keyword): Ensure
that an unknown/uncompletable keyword is returned unmolested.
lisp/gnus/gnus-search.el
test/lisp/gnus/gnus-search-tests.el