Fix `org-toggle-tag'
commit031f3623524482e52192f21a2dec445bd038a66d
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Sat, 28 Apr 2018 00:04:06 +0000 (28 02:04 +0200)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Sat, 28 Apr 2018 00:10:44 +0000 (28 02:10 +0200)
tree77481b3f1e01bdb407f527ec234a9a39a4722b0a
parentd48bff37ad5b873ea9fbeca46cbcc9a7535688d2
Fix `org-toggle-tag'

* lisp/org.el (org-toggle-tag): Fix weird behavior with inherited tags.

* testing/lisp/test-org.el (test-org/toggle-tag): Add test.

Reported-by: Bernt Hansen <bernt@norang.ca>
<http://lists.gnu.org/r/emacs-orgmode/2018-04/msg00537.html>
lisp/org.el
testing/lisp/test-org.el