diff --git a/lisp/org.el b/lisp/org.el index 2dcff7be9..2e53d98d3 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -9457,7 +9457,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))