Fix handling nested VISIBILITY properties
commit16c7ae7996a95f8091eb80a61dd85db817ca5d90
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Tue, 2 Jan 2018 13:12:20 +0000 (2 14:12 +0100)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Tue, 2 Jan 2018 13:13:46 +0000 (2 14:13 +0100)
treec8ef448dd4213c8d6bd4c42ca2e91e0ffdefd522
parentec6813157e450ef0f5f4915b5782232d8466ce3f
Fix handling nested VISIBILITY properties

* lisp/org.el (org-set-visibility-according-to-property): Fix handling
  nested VISIBILITY properties.
* testing/lisp/test-org.el (test-org/set-visibility-according-to-property):
  New test.

Reported-by: Michael Maurer <maurer.michael@gmail.com>
<http://lists.gnu.org/r/emacs-orgmode/2018-01/msg00012.html>
lisp/org.el
testing/lisp/test-org.el