org.el: Fix bug when building tags groups

* lisp/org.el (org-tag-alist-to-groups): Fix bug.
This commit is contained in:
Bastien 2018-03-20 14:58:20 +01:00
parent b2d3dbabf7
commit b7f350f7ef
1 changed files with 1 additions and 1 deletions

View File

@ -5249,7 +5249,7 @@ a string, summarizing TAGS, as a list of strings."
(`(,(or :endgroup :endgrouptag))
(when (eq group-status 'append)
(push (nreverse current-group) groups))
(setq group-status nil))
(setq group-status nil current-group nil))
(`(:grouptags) (setq group-status 'append))
((and `(,tag . ,_) (guard group-status))
(if (eq group-status 'append) (push tag current-group)