Ihor Radchenko writes:
> Subject: [PATCH] Fix org-in-archived-heading-p > > * lisp/org.el (org-in-archived-heading-p): When called on a heading > with a tag containing org-archive-tag string as a substring, that > heading was incorrectly recognised as archived. Changed matching > against the whole :tag1:tag2:...: string to matching against tag list > as returned by `org-get-tags'. > * testing/lisp/test-org.el (test-org/in-archived-heading-p): Add test > when one of the heading tags contains org-archive-tag as a substring. Nicely done. Pushed (a03f17e49). Thank you.