* 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>
@@ -8406,7 +8406,7 @@ After top level, it switches back to sibling level."
(defun org-map-tree (fun)
"Call FUN for every heading underneath the current one."
- (org-back-to-heading)
+ (org-back-to-heading t)
(let ((level (funcall outline-level)))
(save-excursion
(funcall fun)