org-agenda-filter-by-tag: Only accept existing tags
commit404ac42ee51f0ac0d9cfb8fbefaefbbe96c61017
authorNathaniel Flath <flat0103@gmail.com>
Thu, 13 Jul 2017 00:15:04 +0000 (12 17:15 -0700)
committerKyle Meyer <kyle@kyleam.com>
Sun, 16 Jul 2017 20:58:35 +0000 (16 16:58 -0400)
tree300fa07437272207d08de3229f3f552dc34a0ae7
parent8d9854ca8a462e61c53e4e57f87967e079cfe36f
org-agenda-filter-by-tag: Only accept existing tags

* org-agenda.el (org-agenda-filter-by-tag): Pass t for the
require-match argument of completing-read because the collection
includes all valid tags.

In addition to preventing a user from filtering on a value that
doesn't match any entries, this makes the default Emacs completion
more convenient because a tag can be selected by entering its unique
prefix.
lisp/org-agenda.el