Fix tag groups expansion as a regexp
commit9df82be0742722b0c008b9b13e02627899c3387d
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Thu, 8 Nov 2018 17:20:57 +0000 (8 18:20 +0100)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Thu, 8 Nov 2018 17:20:57 +0000 (8 18:20 +0100)
tree4774a66556261a783ed8b246fe08613f98e82d73
parentbfb946c7daacf5f7226ed1019370570c49a5409a
Fix tag groups expansion as a regexp

* lisp/org.el (org--tags-expand-group): New function.
(org-tags-expand): Refactor code.  Fix expansion of identical tag
groups in the same match string.  Fix docstring.  Remove unused
argument.
* testing/lisp/test-org.el (test-org/tags-expand): New test.

Reported-by: Omari Norman <omari@smileystation.com>
<http://lists.gnu.org/r/emacs-orgmode/2018-10/msg00360.html>
lisp/org.el
testing/lisp/test-org.el