Fix multiple tag selection
commitf1b43fe9e65e33a0f734932b043e83fc2bfba583
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Mon, 23 Apr 2018 13:24:23 +0000 (23 15:24 +0200)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Mon, 23 Apr 2018 13:24:23 +0000 (23 15:24 +0200)
tree6f1da4c8d400f7e188a5709b0a1fe86fb9c9abce
parente3b1c664e7ac23bf55abca8dd551d1cd928bc3a0
Fix multiple tag selection

* lisp/org.el (org--tag-add-to-alist): Preserve order when merging tag
  alists.  Remove duplicates only when they are outside a group.
  Rename from `org-tag-add-to-alist'.
(org-set-regexps-and-options):
(org-global-tags-completion-table):
(org-make-tags-matcher):
(org-set-tags):
(org-change-tag-in-region):
(org-agenda-prepare-buffers): Apply renaming.

Reported-by: Alex Branham <alex.branham@gmail.com>
<http://lists.gnu.org/r/emacs-orgmode/2018-04/msg00311.html>
lisp/org.el