org.el: Fix bug when building tags groups
* lisp/org.el (org-tag-alist-to-groups): Fix bug.
This commit is contained in:
parent
b2d3dbabf7
commit
b7f350f7ef
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue