diff --git a/lisp/org.el b/lisp/org.el index 8463c335a..350d0470a 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -19081,13 +19081,13 @@ Also align node properties according to `org-property-format'." (interactive) (unless (or (org-at-heading-p) (and (eq org-adapt-indentation 'headline-data) - (not (org-at-clock-log-p)) + (not (or (org-at-clock-log-p) + (org-at-planning-p))) (save-excursion (beginning-of-line 1) (skip-chars-backward "\n") (or (org-at-heading-p) - (looking-back ":END:.*" (point-at-bol)) - (org-at-planning-p))))) + (looking-back ":END:.*" (point-at-bol)))))) (let* ((element (save-excursion (beginning-of-line) (org-element-at-point))) (type (org-element-type element))) (cond ((and (memq type '(plain-list item))