Merge branch 'maint'

This commit is contained in:
Nicolas Goaziou 2015-08-21 13:59:10 +02:00
commit 5f217e6fd5
1 changed files with 2 additions and 0 deletions

View File

@ -4751,6 +4751,8 @@ Otherwise, these types are allowed:
(let ((case-fold-search nil)
(re (concat org-outline-regexp-bol ".*:" org-archive-tag ":")))
(goto-char beg)
;; Include headline point is currently on.
(beginning-of-line)
(while (and (< (point) end) (re-search-forward re end t))
(when (member org-archive-tag (org-get-tags))
(org-flag-subtree t)