diff --git a/modules/lang/org/autoload/org.el b/modules/lang/org/autoload/org.el index 3906c1521..1a945fcd3 100644 --- a/modules/lang/org/autoload/org.el +++ b/modules/lang/org/autoload/org.el @@ -337,14 +337,11 @@ with `org-cycle')." (unless (eq this-command 'org-shifttab) (save-excursion (org-beginning-of-line) - (cond ((org-at-heading-p) - (outline-toggle-children) - (unless (outline-invisible-p (line-end-position)) - (org-cycle-hide-drawers 'subtree)) - t) - ((org-in-src-block-p) - (org-babel-remove-result) - t))))) + (when (org-at-heading-p) + (outline-toggle-children) + (unless (outline-invisible-p (line-end-position)) + (org-cycle-hide-drawers 'subtree)) + t)))) ;;;###autoload (defalias #'+org/toggle-fold #'+org|toggle-only-current-fold)