[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Fix org-in-archived-heading-p when tag contains ARCHIVE as a
From: |
Kyle Meyer |
Subject: |
Re: [PATCH] Fix org-in-archived-heading-p when tag contains ARCHIVE as a substring |
Date: |
Fri, 11 Dec 2020 04:27:06 GMT |
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.