Fix `org-map-tree' when called in an invisible heading master
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Sat, 30 Jul 2016 22:20:35 +0000 (00:20 +0200)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Sat, 30 Jul 2016 22:20:35 +0000 (00:20 +0200)
commit9798da77b29b2dcd2d46a663e62c7c710936f4eb
tree3610891f692b9b770765f5fa215104fc6a38a27e
parent406ad6eb52f843441f45abd9699bc6f5bc473ab2
Fix `org-map-tree' when called in an invisible heading

* lisp/org.el (org-map-tree): Move to closest heading above even if it
  is invisible.

Suggested-by: talwrii talwrii <talwrii@gmail.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/108590>
lisp/org.el