diff --git a/lisp/org.el b/lisp/org.el index c90fb6d4b..57de52f9b 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -9335,7 +9335,7 @@ When called through ELisp, arg is also interpreted in the following way: (unless (org-invisible-p (line-beginning-position)) (org-fold-region (line-beginning-position) (line-end-position) - nil))) + nil 'outline))) (cond ((and org-state (equal this org-state)) (message "TODO state was already %s" (org-trim next))) ((not (pos-visible-in-window-p hl-pos))