From d9312231e96979b4f0855d794959c5442afd975a Mon Sep 17 00:00:00 2001 From: Bastien Guerry Date: Sun, 20 Apr 2014 09:31:28 +0200 Subject: [PATCH] org.el (org-check-before-invisible-edit): Show the subtree * org.el (org-check-before-invisible-edit): Don't just cycle, show the subtree, as cycling may leave the current heading folded. Thanks to Paul Stansell for reporting this. --- lisp/org.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/org.el b/lisp/org.el index f82526ab8..24cd4b528 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -19465,7 +19465,7 @@ The detailed reaction depends on the user option `org-catch-invisible-edits'." (if invisible-before-point (goto-char (previous-single-char-property-change (point) 'invisible))) - (org-cycle)) + (show-subtree)) (cond ((eq org-catch-invisible-edits 'show) ;; That's it, we do the edit after showing -- 2.11.4.GIT